⚑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