Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

How do I set up the new Destination tags in Google Tag Manager?

This article walks you through converting the Google Tags in your GTM web container to the new Destination tags.

This article walks you through converting the Google Tags in your GTM web container to the new Destination tags. There are three situations: a container with server-side tagging through AdPage, a container with server-side tagging through AdPage + a Google Ads Google Tag, and a container without server-side tagging. You don’t need to change your event tags, conversion tags or triggers.

Before you start

  1. Create a new workspace, so your changes are kept separate from other work in your container.

  2. Document all configuration parameters from your current Google Tags. This lets you copy everything over 1-to-1 and compare afterwards.

  3. Also check your Datastream settings in the GA4 admin and in the Google Ads Data Manager. Think of excluded IP addresses, unwanted referrals and cross-domain tracking.


Situation 1: container with server-side tagging without a Google Ads Google Tag

1

Open your web container

Open your Google Tag Manager web container. Go to Tags in your container and click New.

2

Set up a new GA4 configuration

Under Tag Configuration, choose the new Google Analytics tag. Don’t choose the Google Tag, which is now listed under 'Other Google'.

3

Configure the destination tag

Enter your measurement ID (G-...). This is the same ID as in your old Google Tag and probably set up in a variable.

Copy over all configuration parameters from your old Google Tag. The most important one is server_container_url with your own server-side domain. Without this parameter, your hits no longer go through your AdPage container. Copy the other parameters over 1-to-1, such as send_page_view set to false. If you use a configuration settings variable, add that as well.

Save the tag with a clear name like "GA4 Destination - Server-Side".

4

Pause the Google Tag

Pause the old Google Tag. Open the tag and choose Pause from the menu (⋮) in the top right. Don’t delete them yet, so you can easily go back.

5

Check your settings

Open the Settings menu and check that the settings match to the old way your GA4 Admin datastream and Google Ads Data Manager were set up.

6

Test the changes

Test your setup using preview mode. Open your preview mode in both the GTM web container as the GTM server container at the same time. Browse your website and check to see if the events still get sent towards the server container URL and if these events appear on your server container's preview mode.

7

Publish the GTM web container

After checking everything and testing the new setup you can publish your GTM web container with these changes. Before you do that you have the option to delete your old and paused Google Tag tags.


Situation 2: container with server-side tagging and a Google Ads Google Tag

1

Open your web container

Open your Google Tag Manager web container. Go to Tags in your container and click New.

2

Set up a new GA4 configuration

Under Tag Configuration, choose the new Google Analytics tag. Don’t choose the Google Tag, which is now listed under 'Other Google'.

3

Configure the destination tag

Enter your measurement ID (G-...). This is the same ID as in your old Google Tag and probably set up in a variable. The only configuration parameter you have to add to this Destination Tag is the send_page_view = false. The other configuration parmaters will be added to a new variable in the step below.

4

Set up a Google Tag: Event Settings variable

The configuration parameters (besides send_page_view) from your old Google Tag have to be added to a new variable. The variable type is 'Google Tag: Event settings'.

All of the parameters from your GA4 Google Tag have to be added to this variable.

5

Add the Google Tag: Event Settings variable to every GA4 event tag

Add this Google Tag: Event settings variable to every GA4 event tag. Every GA4 tag gives a dropdown selector item called 'Event Settings Variable' to easily select the variable.

6

Configure your other Google Tags

Do you also have a Google Tag for Google Ads (AW-...)? Repeat the steps above but this time select the new Google Ads destination tag.

7

Pause the Google Tag tags

Pause the old Google Tags. Open the tag and choose Pause from the menu (⋮) in the top right. Don’t delete them yet, so you can easily go back.

8

Check your settings

Open the Settings menu and check that the settings match to the old way your GA4 Admin datastream and Google Ads Data Manager were set up.

9

Test the changes

Test your setup using preview mode. Open your preview mode in both the GTM web container as the GTM server container at the same time. Browse your website and check to see if the events still get sent towards the server container URL and if these events appear on your server container's preview mode.

10

Publish the GTM web container

After checking everything and testing the new setup you can publish your GTM web container with these changes. Before you do that you have the option to delete your old and paused Google Tag tags.


Situation 3: container without server-side tagging

1

Open your web container

Open your Google Tag Manager web container. Go to Tags in your container and click New.

2

Set up a new GA4 configuration

Under Tag Configuration, choose the new Google Analytics tag. Don’t choose the Google Tag, which is now listed under 'Other Google'.

3

Configure the destination tag

Enter your measurement ID (G-...). This is the same ID as in your old Google Tag and probably set up in a variable. Copy over all configuration parameters from your old Google Tag. Save this new destination tag.

4

Configure your other Google Tags

Do you also have a Google Tag for Google Ads (AW-...)? Repeat the steps above but this time select the new Google Ads destination tag. Copy over all configuration parameters here as well if you had them set up in your Google Tag.

5

Pause the Google Tag tags

Pause the old Google Tags. Open the tag and choose Pause from the menu (⋮) in the top right. Don’t delete them yet, so you can easily go back.

6

Check your settings

Open the Settings menu and check that the settings match to the old way your GA4 Admin datastream and Google Ads Data Manager were set up.

7

Test the changes

Test your setup using preview mode. Open your preview mode the GTM web container. Browse your website and check to see if the GA4 event tags still fire and send event requests towards your GA4 destination and your Google Ads conversion tags still fire.

8

Publish the GTM web container

After checking everything and testing the new setup you can publish your GTM web container with these changes. Before you do that you have the option to delete your old and paused Google Tag tags.

Rolling back

Did something go wrong after publishing? Go to Versions in GTM, open the version from before the switch and publish it again. Your container will then work as it did before.

Need help?

Would you rather not make the switch yourself? Email us at support@adpage.io and we’ll look at the options together. Good to know: making the switch and checking your site are not part of our standard support. We handle this with consultancy hours, which are billed.

Last updated

Was this helpful?