β‘Integration with Google Tag Manager (GTM)
This guide describes how to connect the Cookie3 Analytics snippet with your GTM.
Cookie3 Analytics has a dedicated configuration for Google Tag Manager and provides a GTM-specific snippet during the site setup process.
Create a New Tag
In your Google Tag Manager account, begin by adding a new tag.
Click on βAdd New Tag.β
Configure the Tag
Under the tag configuration, choose βCustom HTMLβ as the tag type.
Insert the Cookie3 Analytics Snippet
In the HTML field within the βCustom HTMLβ section, paste your Cookie3 Analytics GTM tracking snippet.
If youβve already added your site, you can retrieve this snippet in the βManage Websitesβ page, which you can access from the applicationβs sidebar navigation
Set a Trigger for the Tag
After adding the snippet, you need to create a trigger to fire the tag.
Choose βAll Pagesβ and filter by βPage Viewβ to ensure the tag counts visits across all your pages.
Be cautious with advanced settings such as tag firing priority, tag sequencing, and consent checks, as these can affect how and when the Cookie3 Analytics script loads.
Name and Save the Tag
Give your tag a descriptive name for easy identification.
Click on the βSaveβ button.
Submit and Publish Your Changes
After saving the tag, click on the βSubmitβ button to submit the changes.
Then, click on the βPublishβ button to apply the changes to your website.
Verify the Integration
Once published, visit your website to confirm that the Cookie3 Analytics script has been added.
You can also verify the tracking in your Cookie3 Analytics account to ensure stats are being collected.
Last updated