new google tag

The New Google Tag: What You Need to Know

Google announced a big change in the fall of 2023. The new Google Tag template arrived in Google Tag Manager and it comes with some important implications for Google Analytics. Here’s what you need to know.

What is the New Google Tag?

The new Google Tag is the new evolution of the Google global site tag (gtag.js). The Google tag has a single tag ID that you can use with a variety of Google tools like Google Analytics and Google Ads.

So instead of managing many different tags, you can use a single Google tag in different ways. You can set up a Google tag in Google Tag Manager, Google Analytics, or Google Ads. A single Google tag can have multiple destination IDs.

Like this, as seen in this Google tag support article.

google tag multiple destinations

What is a Destination ID?

A destination ID represents the destination of the connected Google product. The Google tag uses these destination identifiers to send events and load the proper settings for the destination.

For Google Ads, the destination ID begins with “AW” and is the same as the conversion tracking ID. You can find it in the Conversion ID field in your Google Ads conversion tags.

google tag in google ads

In Google Analytics 4, the destination ID begins with “G” and is the same as the Measurement ID of your GA4 property. Like this.

ga4 measurement id google tag

Automatically Converted Tags

Pre-existing gtag.js tags have been converted to the new Google tags, So there are multiple types of Tag IDs that can be associated with a single Google Tag.

  • Tags with a tag ID that begins with “AW-” are legacy Google Ads tags that are now Google tags.
  • Tags with a tag ID that begins with “G-” are legacy GA4 configuration tags that are now Google tags.

You can have a Google tag comprised of multiple tag IDs if you had a pre-existing Google Ads tag and a pre-existing GA4 tag.

Where Did the GA4 Configuration Tag Go?

There is no more Google Analytics 4 configuration tag in Google Tag Manager. The GA4 config tag has been replaced by the new Google tag.

If you had previously created a GA4 Configuration tag in Google Tag Manager, it has been automatically converted into a Google Tag. You’ll see a message like this when you log in to Google Tag Manager and there’s nothing you need to do.

new ga4 config tags

But if you’re creating a new Google Analytics property, you’ll need to install a new Google tag. Here’s how.

How to Install the New Google Tag

To correctly install the new Google tag, check out this 7 minute video walkthrough or read through the written walkthrough immediately below.

install ga4 with google tag template

Written Walkthrough

From Google Tag Manager, click “Tags” from the left-hand navigation.

new tag

Then, click the “New” button to create a new tag.

new

You’ll see the Tag Configuration options for a new tag. You can give your tag a name for internal record keeping, by typing a new name where you see Untitled Tag below. Something like “New Google Tag” works just fine. Then, click into the Tag Configuration space to select your tag type.

new tag config

You’ll see “Google Tag” as one of the tag types to choose from. Select it as shown.

Note: You’ll also see the “Google Tag” option within the list of Google Analytics tag types.

create new google tag

Now, you need to get your Tag ID from Google Analytics so you can configure your tag. Once you get it, you’ll paste it into the “Tag ID” field shown below.

configure new google tag

Head to Google Analytics and click into the Admin panel.

ga4 admin

Now, click into “Data streams.” You can get there in two places in the new admin panel as shown below.

data streams in ga4 admin

Then, click into your data stream for your property. If you are only tracking a single website, you’ll have one data stream here.

data stream

Copy the “Measurement ID” field as shown below.

ga4 measurement id google tag

Head back to Tag Manager and paste your Measurement ID in the Tag ID field. Like this. Then, click into the “Triggering” area below and select when you want your Google Analytics tag to fire. You can choose an “All Pages” page view trigger, or the Initialization trigger that will fire before all other triggers.

add measurement id to google tag

Here is what your tag and trigger look like.

add trigger to google tag

Click “Save” to save your tag and trigger.

save

Then, from the main screen in Google Tag Manager, publish your container to make everything live.

What is the Settings Variable in the Google Tag?

There are two time-saving settings variables with the Google Tag. One set of settings variables relates to the configuration settings within the Google tag (what we just set up in the section above). The second is a settings variable that can be used across multiple Google Analytics events.

The second one is a bigger deal for most as it has the greatest potential to make life easier.

How Does the Event Tag Settings Variable Work?

With this settings variable, you can configure a list of your event parameters and then apply them to multiple Google Analytics 4 events. Here’s a quick overview.

Click into one of your existing GA4 events (or create a new event from scratch). Before the new settings variable, you’d manually add any event parameters to each of your event. So you’d hit that “Add parameter” button in the red box and get to work. But this could make things complicated or messy, especially if you didn’t always remember what standard event parameters you send and how you’ve named them.

Enter the Event Settings Variable. You can see that in the blue box.

update existing ga4 event with settings variable

When you click into that drop down, you can select any settings variable you’ve already created. If you haven’t yet created one, you can add a “New Variable” as shown below.

new settings variable

Then, you can add any event parameters and user properties to your settings variable and save it for easy use across your tags. If you have multiple types of tags with multiple groups of event parameters, you can create more than one event settings variable.

google analytics event settings variable

If you’re up for a more intensive review, this guide from Simo Ahava is well worth checking out.

Wrapping Up

Look at that! You made it all the way to the end! Thank you. I hope you found this useful. Here are a couple of resources that might be interesting as you continue your GA4 and Google Tag Manager journey.

Thank you for coming by!

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *