Set up and manage consent

Set up UniConsent 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 of 2: Set up a consent banner

  1. Sign up for an UniConsent account and configure your banner using the getting started wizard.
  2. This process helps ensure that your banner complies with the requirements in the Google EU User Consent Policy (EUUCP).

Learn more about UniConsent banner setup.


Step 2 of 2: Set up consent mode

Set up using Google Tag Manager

  1. Open Google Tag Manager and navigate to your container.
  2. In “Tags”, select New and name the tag.
  3. Select Tag Configuration > Discover more tag types in the Community Template Gallery.
  4. Search for “UniConsent CMP” in the gallery and install “UniConsent CMP” by Transfon.
  5. Enter the “UniConsent License ID” for the website in your UniConsent account.
  6. Under “Default Consent Mode settings”, configure the default settings you would like to use .
  7. Add a row for global settings and leave the “Region” field blank.
    • You can add additional rows for region-specific settings by using comma-separated ISO 3166-2 country codes in the “Region” field.
  8. Select Add > Triggering.
  9. Select Consent Initialization - All Pages.
  10. Select Save.
  11. Test your container by selecting Preview in the top right corner.
  12. Publish your container.

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

  1. Open UniConsent and log in,
  2. Go to the projects list, and click Install.
  3. Next, navigate to the “Install & Setup” tab and locate the “Install the tag on your website” section to find the CMP code snippet.
    • If you use a website builder, review their documentation to find out how to implement code in the tag of each page. Otherwise, skip to step three.
  4. In the  tag of each page, paste the following code followed by the CMP script you copied in step 1 at the very top of the tag. If you're using a website builder, refer to step 2.
This is critical in order to ensure the CMP functions properly.