Set up iubenda 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. Go to iubenda, and click Set up consent mode V2.
  2. Open the 'Getting Started' wizard.
  3. In the 'Privacy Controls and Cookie Solution' configuration, set up your consent banner.
  4. Complete the consent banner configuration process and scroll to the embedding section. Consent mode is already active by default for every configuration. You can now add the consent banner to your site.
For additional information on banner setup, refer to the iubenda implementation guide.

Step 2: Set up consent mode

WordPress plug-in

  1. Download the iubenda plug-in from the WordPress plug-in repository, and add it to your WordPress installation.
    • Alternatively, access the administration panel within WordPress, and click on Plug-ins, then click Add new plug-in.
    • Click Search for 'iubenda | All-in-one Compliance for GDPR/CCPA Cookie Consent + more'.
  2. Install the plug-in and activate it.
  3. Once activated, click the iubenda menu item in the sidebar of your WordPress admin panel.
  4. Click Help me get compliant to proceed, then click I’ve already made the set up on iubenda.com.
  5. In your iubenda project dashboard, go to the 'Privacy Controls and Cookie Solution' section, click Embed and copy the code from the code box.
    This image represents the iubenda UI in which you copy the code from the code box to paste into the cookie solution product.
  6. Go back to the iubenda plug-in dashboard and select the Cookie solution product under 'Select products that you have already activated'. Paste the embed code from step 5.
    This image represents the iubenda UI in which you activate your cookie and consent banner.
  7. Click Synchronise products.
  8. After activation, your cookie and consent banner, along with Google consent mode v2, will be enabled by default.

For additional information on banner set up, review the iubenda implementation guide.

Use another platform or directly from your website’s code

  1. In your iubenda project dashboard, head to the 'Privacy Controls and Cookie Solution' section and click on Embed.
  2. Copy the code from the code box.
  3. 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 4.
  4. In the head tag of each page, paste the code that you copied in step 2 at the very top of the <head> tag. Note that this step is critical in order to ensure that the CMP functions properly.

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 the 'iubenda Privacy Controls and Cookie Solution by iubenda' template.
  4. Install the 'iubenda Privacy Controls and Cookie Solution by iubenda' template by clicking on Add to workspace.
    This image represents the iubenda UI in which you install the privacy controls and cookie solution template by clicking 'Add to workspace'.
  5. Navigate back to the iubenda project dashboard, go to the 'Privacy Controls and Cookie Solution' section and click Embed.
  6. Copy only the <code> in between the brackets.
  7. In Tag Manager, make sure that the drop-down labelled 'How to embed CS' is set to 'Automatically via GTM template'.
  8. Paste the information copied in Step 6 into the CS Configuration box and configure the global default settings that you would like to use under 'Purpose default consents'.
    This image represents the iubenda UI in which you configure the global default settings that you would like to use.
  9. Click Add, then click Triggering.
  10. Select 'Consent Initialisation – All Pages' then click Save.
    This image represents the iubenda UI in which you select Consent initialisation – All pages.
  11. Click Preview in the top right-hand corner. View instructions for testing below.
  12. Publish your container.

For more details on the iubenda Google Tag Manager template, refer to Setup Google Tag Manager with iubenda.

Generate a Privacy and Cookie Policy

After you’ve embedded your consent banner, it’s highly recommended that you generate a Privacy and Cookie Policy and add the required Google clauses and disclosures.

  1. In your iubenda project dashboard, under the 'Privacy and Cookie Policy' section, click Generate now.
  2. Click Add a service.
  3. In the search bar, find and add 'Google Analytics 4' and 'Google Ads conversion tracking', depending on the Google services that you utilise. For additional specific tracking features provided by Google such as retargeting, search for 'Google' and add related clauses. Each service can be added by clicking the '+' symbol.
    This image represents the iubenda UI in which you choose which Google services to generate a privacy and cookie policy for.
  4. For each service, select the reference region by choosing between Ireland and the United States.
  5. When you’re done adding services, click Save and then Next.
  6. Insert the required info about the website owner (Data controller). Both fields are required and will appear on the privacy policy.
  7. Click Next to complete the generation process.
  8. In the 'Privacy and Cookie Policy' section of your project, click Embed.
  9. Copy the embedding code.
  10. Paste the embedding code in the footer section of your website.

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
9126438593626910263
true
Search Help Centre
true
true
true
true
true
73067
false
false
false