Set up Illow 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. Sign up at illow
  2. Configure your banner using the 'Getting started' wizard.
  3. Make sure that your banner complies with the requirements in the Google EU user consent policy (EUUCP).

For more details on Illow banner setup, read this article.

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 the tag.
  3. Click Tag configuration.
  4. Click Discover more tag types in the Community Template Gallery.
  5. Search for 'Illow cookie CMP by illow-io'.
  6. Add your site ID from the Illow console.
  7. Configure the default settings that you’d like to use under 'Google consent mode default values by region'. Add a row for 'Global settings' with regions blank and add additional rows for region-specific settings using comma-separated ISO 3166-2 country codes in the 'Region' box.
  8. Click Add.
  9. Click Triggering.
  10. Select Consent initialisation – All pages and click Save.
  11. Test your container by clicking Preview in the top right-hand corner (see instructions for testing below).
  12. Publish your container.

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

  1. In the Illow UI, navigate to the 'Home' tab under Cookie banner code and click Copy code to receive a CMP code snippet.
  2. If you use a website builder, review their documentation to find out how to implement code in the <head> tag of each page. Otherwise, skip to step 3.
  3. In the <head> tag of each page, paste the code below followed by the CMP script that you copied in step 1 at the top of the <head> tag.
    • Note: This ensures the CMP functions properly.

<script>

// Define dataLayer and the gtag function.

window.dataLayer = window.dataLayer || [];

function gtag(){dataLayer.push(arguments);}

 

// Set default consent for specific regions according to your requirements

gtag('consent', 'default', {

  'ad_storage': 'denied',

  'ad_user_data': 'denied',

  'ad_personalization': 'denied',

  'analytics_storage': 'denied',

 'regions':[<list of ISO 3166-2 region codes>]

});

// Set default consent for all other regions according to your requirements

gtag('consent', 'default', {

  'ad_storage': 'denied',

  'ad_user_data': 'denied',

  'ad_personalization': 'denied',

  'analytics_storage': 'denied'

});

</script>

<!-- PASTE YOUR ILLOW CMP CODE SNIPPET HERE -- >

<!-- It should look like the snippet below -- >

<!--

<script src="https://platform.illow.io/banner.js?siteId=123456789-1234-4a0b-a9ef-1234567890">

</script>

-->

After you’ve enabled your consent banner, consent mode is enabled automatically.

Testing using Tag Assistant

Learn more about how to Troubleshoot consent mode with Google Tag Manager.

Was this helpful?

How can we improve it?
true
Achieve your advertising goals today!

Attend our Performance Max Masterclass, a livestream workshop session bringing together industry and Google ads PMax experts.

Register now

Search
Clear search
Close search
Google apps
Main menu
884746838731673580
true
Search Help Centre
true
true
true
true
true
73067
false
false
false