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 plugin
- Download the iubenda plugin from the WordPress plugin repository, and add it to your WordPress installation.
- Alternatively, access the administration panel within WordPress, and click on Plugins, then click Add New Plugin.
- Click Search for "iubenda | All-in-one Compliance for GDPR / CCPA Cookie Consent + more”.
- Install the plugin 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 plugin dashboard and select the Cookie Solution product under "Select products you have already activated". Paste the embed code from step 5.
- Click Synchronize 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 you copied in step 2 at the very top of the <head> tag. Note that this step is critical in order to ensure 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 the dropdown labeled "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 you would like to use under "Purpose default consents."
- Click Add, then click Triggering.
- Select "Consent Initialization - All Pages” then click Save.
- Click Preview in the top right 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 to 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 you utilize. 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.