Set up and manage consent

Set up Didomi to obtain user consent

To capture valuable insights while protecting user privacy, you need to collect consent from your website users. We recommend you use a Consent Management Platform (CMP) or work with your Content Management System (CMS) to collect consent and send it to Google. 

Step 1: Set up a consent banner

  1. Work with Didomi to sign up for and get access to their platform.
  2. Configure your banner using the “Consent Notice Getting Started” wizard.
  3. Make sure your banner complies with the requirements in the Google EU User Consent Policy (EUUCP).

For additional information on banner setup, review the Didomi Help Center.

Step 2: Set up consent mode

Set up using Google Tag Manager

  1. Open Google Tag Manager and navigate to your container.
  2. In “Tags”, click New and name your tag.
  3. Click Tag Configuration, then click Discover more tag types in the Community Template Gallery. From the gallery, search for “Didomi”, then install “Didomi CMP by Didomi”.
  4. From the Didomi UI, click “My Organization” at the top of the page, then click Copy Public API Key.
  5. Check the box labeled “Embed the Didomi Web SDK” in Google Tag Manager and paste the API Key from the above step into the box labeled “Public API Key”.
  6. Configure the default settings you would like to use under the “Set Google Consent Mode default status” section. Use comma-separated ISO 3166-2 country codes in the Region box if you customize defaults by region.
  7. Click Add, then click Triggering.
  8. Select “Consent Initialization - All Pages”, then click Save.
  9. Click Preview in the top right corner to test your container. View instructions for testing below.
  10. Publish your container.

Set up using another platform or directly from your website’s code