Google Tag Manager
This documentation provides a snippet and instructions tailored specifically for Google Tag Manager to ensure a smooth integration of Cookie3 Script. Let's begin!
Walkthrough
Copy the Custom Script:
In the table displaying your websites, locate the row corresponding to your website.
Click on the code icon next to your website row to copy the custom script specific to your website.
Add the Cookie3 script to your Google Tag Manager project:
Visit tagmanager.google.com.
Select the project you want to add the Cookie3 script to.
Click on Tags in the left sidebar.
Click on New.
Click on Tag Configuration.
Click on Custom HTML.
Paste the Cookie3 script you copied in step 1 into the HTML field.
Click on Triggering.
Click on All Pages.
After pasting the script selecting the All pages trigger, your screen should look like this. You can now click on the{" "} save button in the top-right corner. Please note that the "siteId" in the script is customised for your website and will be different from the one shown in the screenshot.
Click on Save.
Click on Submit.
Click on Publish.
Checking the script status
After connecting the custom script to your website with GTM, make sure to deploy/save/update your production code.
Once the production code is updated, open a web browser and visit app.cookie3.co/website/manage.
Check the Connection status for your website in the table row.
If the status is 'Connected,' congratulations!
If the status is 'Not connected,' click on the refresh icon to attempt to establish the connection again.
If the connection still fails, please reach out to our support team for further assistance.
Congratulations! You have successfully connected the Cookie3 Script to your website. You can now leverage advanced tracking and analytics features for your website.
Last updated