1. Help Center
  2. Consent Notices

Enable Google Consent Mode with Didomi

For advertisers, Google Consent Mode (GCM) serves as a link between data privacy and digital advertising by adjusting the behavior of Google tags to the consent status of your users. This way, you can obtain insights about campaign conversions and other data, always respecting user consent choices for ads cookies and analytics cookies, which will help you optimize and improve ad monetization. 

With Consent Mode, your Google tags will be able to determine whether or not a user has given cookie consent for advertising purposes:

- If a user consents, the measurement tools used will continue to run as usual.

- If a user does not consent, the relevant Google tags will adapt accordingly to not use ads cookies. Instead, other measurement processes will be used at a more aggregate level.

1- How does it work? 

Google Consent Mode introduces two new tag settings which manage cookies for advertising and analytics purposes for advertisers. This is done by using the global site tag (gtag.js) or Google Tag Manager. It works with the following products:

  • Google Ads
  • Floodlight
  • Google Analytics
  • Conversion Linker

Google Consent Mode will adjust the behavior of consent status, conversion and Google Analytics pings.

You can learn more about Google Consent Mode in their documentation.

2- Enable Google Consent Mode with Didomi

⚠️ Google Consent Mode will be enabled by default on all new notices. If you create a new notice and you do not want to use Google Consent Mode, you will need to disable it manually.

 

With Google Consent Mode, Didomi's consent notice sends information to Google about whether the user has given consent or not for Google Analytics and Google Ads cookies. Google's tags will dynamically adapt, only utilizing tools for the specified purposes when consent has been given by the user.

When consent for ad storage or analytics storage is denied, the associated Google measurement functions deployed via global site tags (gtag.js) or Google Tag Manager will adjust their behavior accordingly.

 

Google Consent Mode only works with gtag.js, so make sure you are using gtag.js and not other legacy tags such as ga.js, analytics.js or conversion.js. 

Before activating Google Consent Mode, make sure that you have selected our new "Google Analytics Products" vendor in the step "VENDORS & PURPOSES" so that you do not lose the data stream in your analytics:

To configure Google Consent Mode, activate our integration in the step "INTEGRATIONS" of  the Didomi console and follow the steps described in our technical documentation