Moving from Universal Analytics Settings Variables to Google Analytics 4 Configuration Tags in Google Tag Manager: Overview and Benefits

Moving from UA Settings Variables to Google Analytics 4 Configuration Tags in Google Tag Manager: Overview and Benefits
Estimated Reading Time: 3 minutes

You are most likely familiar with the Universal Analytics (UA) settings variable. This lets you define your Google Analytics (GA) property and any parameters that need to be set or passed along with an event or pageview. You then apply the variable to your tags, ensuring that those settings and parameters are applied to all GA tags.

This is a little different in Google Analytics 4 (GA4) for Google Tag Manager (GTM). Now, you have a configuration tag where you can set default parameters (in the Fields to Set section). Each event tag (remembering again that everything in GA4 is an event), needs to call this a ‘configuration tag’. Furthermore, the configuration tag can send a pageview, or you can send that as a separate event.

A little confusing, huh? Well let’s see if we can break it down somewhat.

First, when setting up tagging for GA4 you will set up a configuration tag. This tag holds your measurement ID, can fire a pageview, and holds fields to set, or default parameters. A properly-formatted base-level tag will look like the one below:

Note the following:

  1. Your measurement ID – You can hardcode it here or set it to a variable if needed.
  2. The “send a page view” checkbox – If you need to pass custom parameters with your pageview, you will want to UNCHECK this box and set up a separate pageview event to pass your pageviews with.
  3. Your firing trigger – To make this available for all tags, set this to fire on all pages.

You CAN set user properties here if needed as well. These again would be user properties to persist across all tags.

You also can pass any parameters that need to be consumed by all tags using this configuration variable. For example, publish date of the content.

Next, your event tag will call this GA4 configuration tag. Let’s see how that looks for a page_view event tag:

Note the following:

  1. The configuration tag is set to the tag we just set up.
  2. The event name is filled in, in this case to page_view.
  3. We have added some event parameters that will be sent every time this tag fires.
  4. We have added a firing rule to fire this tag on all pages.

Now, when the tag fires on a page it will send a page_view event to GA with the author, publication date, and category (assuming those exist on the page).

So what in the end does the GA4 configuration tag get you? Well, it gives you one place to enter your measurement ID so there is no confusion. You can set user properties in the config tag to keep them the same across events. And yes, you can automatically pass a pageview if needed from the config tag. Finally, you still can pass along your global custom parameters just as you did with the UA config variable.

Still feeling confused about configuration tags?

Our team of experts is here to help whenever you need us.
Facebook
Twitter
LinkedIn
Email
Originally Published: May 22, 2023
May 22, 2023

Other Articles You Will Enjoy

Unlocking Insights: Your Ultimate Google Analytics 4 Funnel Exploration Tutorial

Unlocking Insights: Your Ultimate Google Analytics 4 Funnel Exploration Tutorial

The funnel report is one of the most important reports available to digital marketers. Luckily, Google Analytics 4 (GA4) has made funnel reports more…

5-minute read
Maximizing Data Accuracy: How to Implement Referral Exclusion in Google Analytics 4

Maximizing Data Accuracy: How to Implement Referral Exclusion in Google Analytics 4

Introduction In the world of digital analytics, accurate and reliable data is crucial for understanding user behavior, optimizing marketing strategies, and driving business growth. …

4-minute read
Event Tracking in Google Analytics 4: How to Set Up & Optimize Your Data

Event Tracking in Google Analytics 4: How to Set Up & Optimize Your Data

There are a few out-of-the-box events that Google Analytics 4 (GA4) tracks but custom events require a bit more configuration. GA4 events are freeform…

8-minute read
Top 4 Considerations When Comparing Google Analytics 4 to Universal Analytics

Top 4 Considerations When Comparing Google Analytics 4 to Universal Analytics

In today’s digital landscape, understanding user behavior is crucial for businesses to optimize their online presence and drive growth. Google Analytics has been a…

5-minute read
Google Analytics 4 Privacy Fundamentals: Executing DSAR and Deletion Requests

Google Analytics 4 Privacy Fundamentals: Executing DSAR and Deletion Requests

Organizations across the globe are facing an influx of new requirements related to privacy legislation. While regulations vary significantly from one region to another,…

6-minute read
Mastering Video Player Tracking in Google Analytics 4 Using the Player’s API

Mastering Video Player Tracking in Google Analytics 4 Using the Player’s API

Introduction In today’s digital landscape, video content has become increasingly prevalent across various online platforms. As a website or app owner, it is crucial…

8-minute read
Navigating the Shift: Understanding the Impacts of Transitioning from Universal Analytics to Google Analytics 4

Navigating the Shift: Understanding the Impacts of Transitioning from Universal Analytics to Google Analytics 4

2022 marked a significant shift in the digital analytics landscape. Google announced that Universal Analytics would stop processing hits in July 2023 (July 2024…

3-minute read
Google Analytics 4 Explore Reports: Spilling the Tea on How to Set Yourself Up for Success in Google Analytics 4

Google Analytics 4 Explore Reports: Spilling the Tea on How to Set Yourself Up for Success in Google Analytics 4

As more users continue to access and leverage Google Analytics 4 (GA4) reporting features, there seems to be one question that is living rent…

16-minute read
How to Use Data Exploration Reports in Google Analytics 4 to Uncover Hidden Insights and Opportunities

How to Use Data Exploration Reports in Google Analytics 4 to Uncover Hidden Insights and Opportunities

Introduction Now that we have migrated away from Universal Analytics, you may be wondering to yourself, “How can I use Google Analytics 4 (GA4)…

7-minute read

Get Your Assessment

Thank you! We will be in touch with your results soon.
{{ field.placeholder }}
{{ option.name }}

Talk To Us

Talk To Us

Receive Book Updates

Fill out this form to receive email announcements about Crawl, Walk, Run: Advancing Analytics Maturity with Google Marketing Platform. This includes pre-sale dates, official publishing dates, and more.

Search InfoTrust

Leave Us A Review

Leave a review and let us know how we’re doing. Only actual clients, please.