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.
Learn more about how to Set up your consent banner with a consent management platform or a content management system.
Step 1: Set up a consent banner
- Go to iubenda, and click Set up consent mode V2.
- Open the 'Getting Started' wizard.
- In the 'Privacy Controls and Cookie Solution' configuration, set up your consent banner.
- 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.
Step 2: Set up consent mode
WordPress plug-in
- 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'.
- Install the plug-in and activate it.
- Once activated, click the iubenda menu item in the sidebar of your WordPress admin panel.
- Click Help me get compliant to proceed, then click I’ve already made the set up on iubenda.com.
- In your iubenda project dashboard, go to the 'Privacy Controls and Cookie Solution' section, click Embed and copy the code from the code box.
- 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.
- Click Synchronise products.
- 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
- In your iubenda project dashboard, head to the 'Privacy Controls and Cookie Solution' section and click on Embed.
- Copy the code from the code box.
- 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.
-
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
- Open Google Tag Manager and navigate to your container.
- In 'Tags', click New and name your tag.
- 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.
- Install the 'iubenda Privacy Controls and Cookie Solution by iubenda' template by clicking on Add to workspace.
- Navigate back to the iubenda project dashboard, go to the 'Privacy Controls and Cookie Solution' section and click Embed.
- Copy only the <code> in between the brackets.
- In Tag Manager, make sure that the drop-down labelled 'How to embed CS' is set to 'Automatically via GTM template'.
- 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'.
- Click Add, then click Triggering.
- Select 'Consent Initialisation – All Pages' then click Save.
- Click Preview in the top right-hand corner. View instructions for testing below.
- 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.
- In your iubenda project dashboard, under the 'Privacy and Cookie Policy' section, click Generate now.
- Click Add a service.
- 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.
- For each service, select the reference region by choosing between Ireland and the United States.
- When you’re done adding services, click Save and then Next.
- Insert the required info about the website owner (Data controller). Both fields are required and will appear on the privacy policy.
- Click Next to complete the generation process.
- In the 'Privacy and Cookie Policy' section of your project, click Embed.
- Copy the embedding code.
- 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.