Skip to main content
All CollectionsMarketingOnline Marketing
Import the Google Tag Manager container
Import the Google Tag Manager container

Stager's ready-to-use DIY container.

Updated over 3 months ago

Our online marketing partner Afdeling Online has created a container that you can import directly into Google Tag Manager. This allows you to set a number of important tags in one step. As soon as Google Tag Manager is linked to your ticket shop via the Stager backstage, data can be tracked. Check off the steps here to ensure that all tracking is properly set up and linked to the correct systems.

Make sure you have a GTM account and it is integrated with Stager.

The container is prepared with different presets. Don't worry if you don’t use everything in the container: if a preset is not used, the triggers will not be fired and nothing will happen.

What's in the container:

  • Measure conversions with Facebook Business

  • Measure conversions with Google Ads

  • Settings for Google Analytics 4


Import the conversion container

To import the conversion container, follow the steps below:

  1. Open the JSON file via this link and save it (version July 2024).

  2. The presets of Facebook, Google Analytics and Google Ads are included in the JSON file.

  3. Open your Google Tag Manager account.

  4. Go to 'management' in the Google Tag Manager account.

  5. Now you can import the container using the JSON file. Click on ‘Import container’.

  6. Select the JSON file you just downloaded.

  7. Select ‘existing’.

  8. Then choose 'merge' and then 'Override Conflicting Variables, Triggers and Tags, and Variables'. This way you can be sure all settings are correct.

  9. Click confirm.

You have now imported the preset container.


Add Facebook Pixel ID

Now we can adjust a number of variables, so that the data of your ticket sales is also linked to your Facebook Business Manager.

  1. Go to your workspace in Google Tag Manager.

  2. Go to 'variables' in the left hand row.

  3. Open the "Ticketshop - Facebook Pixel ID" variable.

  4. Edit the variable, remove XXXXXXXXXXXX and enter your own Facebook Pixel ID at 'value'.

Finished! You can now measure your ticket sales via Facebook using Google Tag Manager.


Google Ads Conversion ID & Label

Now we are going to adjust the Google Ads variables so that you receive the data in your Google Ads account.

  1. Go to your workspace.

  2. Go to 'variables' in the left hand row.

  3. Open the "Ticketshop - Google Ads Conversion ID" variable.

  4. Edit the variable, remove XXXXXXX and enter your own Google Ads Conversion ID at 'value'.

  5. Click 'save'.

  6. Now repeat steps 1 to 5 for the variable 'Ticketshop - Google Ads Conversion Label'.


Add Google Analytics 4 tracking code

Now we will start adjusting the Google Analytics 4 variable, so that the data also enters Google Analytics 4:

  1. Make sure you are logged in to Google Analytics 4.

  2. Navigate to ‘Admin’ at the bottom left.

  3. Click ‘Data Streams’ in the right column.

  4. Click on your domain.

  5. Copy the measurement ID at the top of the page (See image for example).

  6. Go to your workspace in Google Tag Manager.

  7. Go to 'variables' in the left hand row.

  8. Open the variable 'Ticketshop - GA4'.

  9. Replace 'G-XXXXXXXXXX' with the measurement ID you copied in Google Analytics 4 and click 'Save'. Check out the example below:


Set up Conversion Linker for cross-domain tracking

Once you've imported the container and set everything up, you can move on to setting up cross-domain tracking. Cross-domain allows you to continue to recognize the source of the traffic when switching between domains, for example when a ticket buyer clicks from your website to the ticket shop. This is done through the Conversion Linker. The Conversion Linker ensures that the conversion is linked to the correct domain. The cross domain tracking presets are already set when you import the container. To set up cross-domain tracking, you only need to fill in the variables. You can read more about this in the article about cross-domain tracking.


Publishing the container

Now that you've got everything set up, you can publish the container. If you don’t publish, nothing is measured. And with every change you make, you must republish the container again, otherwise you will continue to use the old settings. At the top right of the page you can see the status of the container.


What have we set up?

With this container we added the Facebook Pixel and Google Ads Conversion ID, Google Analytics UA and Google Analytics 4 to your Google Tag Manager account. This allows you to distinguish several steps in the ticketing process. The things we can distinguish are:

  • How many and which tickets you have sold for which event.

  • Which online channel sold the tickets.

  • The turnover per event.

  • If the visitor has seen the tickets.

  • If the visitor has placed the tickets in their shopping cart.

  • If the visitor bought the tickets.

Please also read the articles Set up Google Analytics and Cross-domain tracking for your ticket shop to make sure that everything is set up correctly!

Did this answer your question?