You now want to verify that your Google Tag Manager integration is valid.
To do this, you need to verify your settings using GTM's Preview mode.
We will cover the following in this section:
GTM preview mode
Google Tag Manager's preview mode allows you to check which tags are fired and when they are fired.
Do not hesitate to use it after modifying your GTM tags to ensure everything works correctly before publishing and putting your GTM live. Note that the preview is exclusively in English.
To launch a preview:
Click the Preview button in the top right corner
In the window that appears, enter the URL of your site.
â ïž GTM must be integrated into your site for this to work
Following these actions, two windows open:
The first is the Tag Assistant: this is where we will see all events, tags, and other variables evolve as you perform actions on the second window
â
âThe second window represents your site: the actions you perform on it will be observable in the Tag Assistant.
đĄ Example of a Tag Assistant window:
The summary: it shows you all the tags that were fired or not
An event: by selecting it in the list it allows you to see if a tag was fired on the correct event or, on the contrary, why it was not fired
A few examples
Case No. 1: Facebook Pixel tag fired on the Axeptio event
In this case, we want to verify that our Facebook tag is fired on the corresponding Axeptio event: axeptio_activate_facebook_pixel.
By selecting the event in the list of events, we can see that the tag was properly fired:
By clicking on our "Facebook Pixel" tag, we have the details of its firing, and we can verify why it was fired or not:
â The observed event is equal to the event required for firing: the tag is therefore fired.
If, as a user, I refused cookies, the Axeptio events do not send, and therefore the tags attached to them are not fired:
Case No. 2: Facebook Pixel tag fired by a custom event
In this case, we added a condition to our "purchase" trigger, which verifies that the Axeptio variable contains "facebook_pixel":
Let's now look at the details:
â Our tag was properly fired on the "purchase" event
â It is not the variable name that appears, but its value, so a list of all accepted cookies
â Our condition on the Axeptio variable is met: it contains "facebook_pixel"
â The observed event is equal to the expected event for firing. Since both conditions are met, the tag was properly fired.
Now, if as a user I refuse cookies:
â Since one of the conditions was not met, our tag was not fired.
â The observed event is still correct. On the other hand, since my variable is empty, it does not contain "facebook_pixel".







