Skip to main content

Google Tag Manager Consent Mode Integration

Use Google Tag Manager with Consent Mode to integrate Privado's cookie consent solution.

N
Written by Nikhil Kukade
Updated over a year ago

If you are using Google Tag Manager to fire your scripts like Google Analytics, you can install our cookie banner & manage those scripts from tag manager itself while updating Google Consent Mode values automatically. Please follow the steps below:

  • Finish setup and hit the Publish button. Go to the Integrations tab and click on the Download Icon under the Google Tag Manager (with Consent Mode) section

  • It will download a Tag Manager container on your device

  • Login to your tag manager account and click on Admin

  • Under the Admin section, click on Import Container which will open the following screen

  • Click on Choose container file and select the container that you downloaded from our dashboard

  • Once you do that, select the merge option and ensure there are no conflicts in your tags, triggers, variables and templates

  • On successful import, we will add a Privado script tag for you and three triggers.

Using Triggers:

  1. Allow Analytics Cookies: Use this trigger to fire tags that set analytics cookies like Hotjar

  2. Allow Functional Cookies: Use this trigger to fire tags that set functional cookies like Intercom

  3. Allow Targeting Cookies: Use this trigger to fire tags that set targeting cookies like Facebook pixel

Once you have changed your triggers, click on Submit, and publish your changes. A GDPR compliant cookie banner will be live on your website.


​

Did this answer your question?