Now that Google Tag Manager is configured to work with the Criteo OneTag, we are ready for the final step. In order for the configuration to be live on your website, it needs to be published otherwise it will only be a draft. However, before publishing the tags on your website it is good practice to activate GTM's Debug mode and test your configuration to make sure everything is in order.
On the top-right section of Google Tag Manager, you will see a "Publish" button with an downward arrow: clicking this arrow will prompt you with three options:
- Publish Now: this will publish the draft.
- Preview & Debug: this will activate the Debug Mode
- Save as New Version: this will create a version for your draft without publishing it so you can make new modifications and revert them back in one click.
If you click "Publish & Debug" (see above), it will activate Google Tag Manager's Debug mode. Once this is activated, a new footer will appear on your website, notifying you of all tags that have been fired on the current page and explaining what conditions others tag did not met for being triggered.
All pages where the Criteo OneTag must fire should be checked in order to ensure that the Debug mode shows the tag as being fired (like the Homepage tag on the screenshot above).
If you notice a tag not being fired on a page where it should, you can click the tag in the Debug mode. This will show you all the conditions that have been setup as Triggers for this tag (Step 3 of this guide) and whether they are met or not.
If you notice a tag firing correctly, you can also click it to see which Variables are used within the tag and which values have been passed. This will enable you to spot eventual errors such as formatting, wrong keywords, etc.
Once you have ensure that all 5 tags are firing correctly and with the expected information, you can proceed to the final step and publish the new container version created on your website.
Publish the Criteo OneTag
You are now ready to publish your draft and put the Criteo OneTag live on your website. This is achieved very easily by pushing the "Publish" button at the top-right of the interface. This will prompt you with a confirmation pop-up summing up all the changes you have made to the container since the last publication.
Your Criteo OneTag implementation is complete, congratulations! You can now go to your Integrate account and validate the Tags step so our teams are notified as soon as possible.