Setting up your tracking with Google Manager

 

This article will help you feed your tracking data, such as audience analysis or conversions, from your minisite or ticketing widget to an audience analysis and conversion tool like Google Analytics or Facebook Pixel. 

Please note: For safety reasons, tags allowing free JavaScript code (e.g., coming from a JavaScript variable) will not be executed

  • Finding your Google Tag Manager identifier

Your Google Tag Manager identifier is on the homepage of your GTM dashboard.

2. Setting up Google Tag Manager tracking in Weezevent

You can add the Google Tag Manager tracking code directly from your management interface. Go to the Communicate tab, then Referencing and exposure:

3. Setting up an event to track using Google Tag Manager

Go to https://tagmanager.google.com and click on Tags then New.

Choose the type of tag by clicking on the pencil icon in Tag configuration. Fill in the tracking elements such as the Google Analytics tracking ID. 

If you would like to use e-commerce in Google Analytics, you must tick the boxes Enable Enhanced Ecommerce Features and Use data layer at this step.

Important: if you add a Google Analytics tag using Tag Manager, don’t keep the Google Analytics tracking code in your management dashboard in order not to take the data into account twice

Then you should choose a trigger, that is to say an event that will trigger the activation of this tag, for instance Page view, by clicking on the pencil icon in Triggering and submit with the Save button on the top right.

You can use the Preview mode then go to your module to check that the tags get triggered. 

4. Trigger a tag for a specific step of the module

If you would like to add a tag on a specific page, you need to create a Variable to retrieve the current step, then a specific Trigger.

In the Tag Manager, go to the Variables section and click on New. Name this Variable Step on the top left, click on the pencil and select Data Layer Variable in the Page Variables section

In the Data Layer Variable Name field, enter (in lowercase): step

Save your variable with the Save button on the top right. 

Go to the Triggers section and click on New. Enter a name, for instance Page confirmation, click on the pencil and select Page View. Then tick Some Page Views to specify a condition. In the drop down menu, choose the Step variable that we just created and enter confirmation after contains.

Save this new trigger using the Save button on the top right. 

Now, when you are editing a tag, you can select the Page confirmation trigger that we just created in the Triggering section, instead of the standard Page View trigger.

If you need it, you can create other triggers by using the same Step variable. This will allow you to launch tags on the various steps of the sales module. The various available values for the step variable are the following:

  • dates (choice of session if the session mode is enabled)
  • tickets (choice of ticket type)
  • form (answers entered)
  • payment (payment data entered)
  • confirmation (confirmation displayed)