Implementation via Google Tag Manager (GTM)

Warning! Do not use this manual if you have already installed the main code directly

1. How to Install Clickio Consent Template in Google Tag Manager

1.1. Access the Google Tag Manager Account
  1. Log in to GTM: Go to Google Tag Manager and log in to your account.
  2. Select a Container: Choose the relevant container for the website where you want to manage consent.
1.2. Install the Clickio Consent Template
  1. Navigate to Templates: In the left sidebar, click on "Templates" to open the template management section.

  2. Explore the Community Gallery: Click on the “Search Gallery” button under the "Tag Templates" section to open the GTM Community Template Gallery.

  3. Find the Clickio Consent Template: Use the search bar to find "Clickio Consent" in the gallery. Once you find it, click on the template.

  4. Add the Template: Click on the “Add to Workspace” button to add the template to your GTM container.

  5. Review and Approve: Review the permissions and potential risks associated with the template, then click on "Add" to approve and install it.

image-1715346201361.png

1.3. Create a Tag Using the Template
  1. Create a New Tag:

    • Go to the “Tags” section in your container and click on “New” to create a new tag.
  2. Select the Clickio Consent Template:

    • Click on “Tag Configuration” and select “Clickio Consent” from the list of available tag templates.
    • Change tag name from "Untitled Tag" to “Clickio Consent”
  3. Set Up the Trigger:

      • In the same tag configuration window, click on “Triggering” and choose an existing internal trigger "Consent Initialization - All Pages" or create a new trigger based on the "Consent initialization" event type.
      • Please do not use triggers based on the "Page View" or "Initialization" event types. Read more about Page View triggers.
  4. Save the Tag:
      • Save the tag after selecting the appropriate trigger.

image-1715346228687.png

2. Enable Clickio CMP Main Code

2.1. Configure the Clickio Consent Template
  1. Access the Template: Go to the "Tags" section within your GTM container, then click the previously created "Clickio Consent" tag.

  2. Enable Clickio CMP:

    • Check the box labeled "Enable Clickio CMP" to automatically include the Clickio CMP code on your page.

      image-1715340480152.png

    • Enter your Clickio Site ID. You can find the Site ID in the Clickio platform under "Consent > yoursite.com > Implementation > Google Tag Manager".

      image-1718377857494.png

     

    1. Save the Tag: Once configured, save your tag by clicking "Save".

    2.2. Publish Changes
    1. Submit the Container: After configuring your tag, click "Submit" in the top right corner of the GTM interface.

      image-1715340913951.png

    2. Describe Your Changes: Add a description of your changes for future reference, then click "Publish".

    image-1715341011631.png

    4. To block non-Google and non-TCF tags based on consent choices, follow these instructions