Google Consent Mode V2

by | Jan 5, 2024 | Blog, Docs, Tech

What is Google Consent Mode? 

Google’s Consent Mode is a tool within Google Tag Manager that allows websites to adjust how tags behave based on user consent for tracking. It helps manage and control the behavior of tags, such as Google Analytics and Google Ads, depending on whether the user has provided consent for data collection and processing. 

For detailed information and guidance on Google Consent Mode, refer to the official Google support documentation: Google Consent Mode – Official Documentation 

Changes in Google Consent Mode v2 

In Consent Mode v2, Google introduced two additional consent types to offer users more granular control over their data sharing preferences: 

  • ad_user_data: This consent type pertains to user consent specifically for Google’s advertising purposes. When a user actively agrees, typically through interaction with a consent banner, to share their data with Google for advertising purposes, the ad_user_data consent is set to ‘granted.’ 
  • ad_personalization: This consent type focuses on whether user data can be utilized for personalized advertising, such as remarketing or targeted ads. It requires explicit user agreement, typically through a consent banner interaction, to share their data with Google for ad personalization. 

These additional consent types provide users with clearer choices and control over data sharing for advertising purposes, aligning with evolving privacy regulations and user expectations. 

Enabling Google Consent Mode v2 in New Configuration 

GravitoCMP now supports Google Consent Mode v2, allowing you to integrate it into your configuration for enhanced user consent management. To use this feature in a new configuration, follow these steps: 

  1. Login to the Gravito Admin Portal:
    • Access the Gravito Admin Portal and navigate to the CMP tab. From the dropdown menu, select ‘gravitoCMP optin.’ 
  1. Creating a New Configuration: 
    • Click on “New Configuration” to initiate a new setup.
    • Fill in necessary details like configuration name and preferred language. Proceed by clicking ‘Next.’ 

A screenshot of a computer

Description automatically generated 

  1. Settings Configuration: 
    • Configure preferences based on specific requirements in the settings section. Click ‘Next’ to proceed.
  1. Core Configuration Tabs: 
    • Define consentable items, specifying ID, name, and description for each. Select ‘isConsentable’ for consentable items. 
    • Enable Google Consent Mode (GCM) by checking the ‘useGCM’ checkbox. 
    • Map consentable items to Google Consents using provided dropdowns. 
  1. Configuration Customization and Publishing: 
    • Customize other sections as needed based on preferences. 
    • Publish the configuration to generate a deployment script. 
  1. Implement Deployment Script on Website: 
    • Copy the generated script and integrate it into your website.
  1. Verification: 
    • Confirm correct consent propagation by checking the dataLayer object on your website. 

Enabling Google Consent Mode v2 in Existing Configuration 

To enable Google Consent Mode v2 in an existing configuration within GravitoCMP, follow these steps: 

  1. Access the Gravito Admin Portal:
    • Log in to the Gravito Admin Portal and navigate to the CMP tab. Select ‘gravitoCMP optin.’ 
  1. Copying an Existing Configuration: 
    • Click the ‘Copy From’ button in front of the desired configuration. 
  1. Modifying Copied Configuration: 
    • Follow similar steps as the new configuration for settings, core tabs, consentable items, and customization options. Maintain consistency with the original configuration.
  1. Enabling Google Consent Mode (GCM): 
    • Check the ‘useGCM’ checkbox in settings. 
    • Map consentable items to Google consents using provided drop downs. 
  1. Finalizing Configuration and Publishing: 
    • Complete modifications and configurations.
    • Publish the modified configuration to generate a deployment script.
  1. Implementing Updated Deployment Script: 
    • Integrate the updated script into your website. 
  1. Verification: 
    • Confirm correct consent propagation by examining the dataLayer object on your website.

Recent posts

Changes in TCF we expect to see

In this post, Gravito's Lead Developer, Unnikrishnan Kurup, opens up the IAB's TCF 2.2 Attention publishers! Stay in the loop about exciting changes to the TCF framework that will impact your advertising strategy. Stay ahead of the game with the inside scoop! IAB’s...

Gravito’s COO at Nordic AdTech Review

Gravito's COO Patrick Glantz, recently appeared in the Nordic Ad Tech Review Podcast hosted by Netric Sales, Sweden You can listen to the podcast below on Spotify More details of the podcast...

Gravito @DMEXCO 2022

Gravito team attended DMEXCO 2022 in Cologne, Germany. DMEXCO is Europe’s leading digital marketing & tech event. DMEXCO is the meeting place and a community for key players in digital business, marketing, and innovation. DMEXCO offers an ecosystem with seminars,...

Gravito featured in Cybernews

Gravito featured in Cybernews !! Know more from the interview with Gravito Ltd's COO Patrick Glantz Read more here "Consumers are expecting a meaningful and proactive dialogue with their brands. Many of the companies aren’t however accurate and real-time...

Future of Programmatic

Disclaimer : While writing and publishing the blog there has been lots of discussion about programmatic advertising with reference to the court ruling over how IAB Europe’s consent popups being unlawful. This article does not discuss anything about this topic. This...

In Conversation with Gravito’s COO

In this new post we have a conversation with Gravito's Chief Operating Officer Patrick Glantz What do you think will be a major strategy change that your customers will make in terms of Consent Management and Privacy practices in 2022? Both privacy as well as consents...

Third-party OUT, First-party IN – Part 2

This is the second part of the two part series. The first part can be accessed here A POSSIBLE WAY FORWARD As we discussed in the first post of this series, at Gravito, we believe in a “Privacy first, My Data” kind of approach. We have built all our services with...

Third-party OUT, First-party IN – Part 1

Death of the Third-party : Slow but Inevitable The death of third-party cookies is much closer than you think, with Safari and Firefox already blocking them and Chrome ready to pull the plug in another year or two.  There is no immediate solution for the...