Google Consent Mode V2 is Google's updated framework for communicating user consent choices to its tags. It introduces two new consent types, ad_user_data and ad_personalization, that sit alongside analytics_storage and ad_storage. These parameters tell Google Ads and Google Analytics whether they can use data for advertising personalization and whether user data can be sent to Google for ads purposes. Setting up Consent Mode V2 involves configuring these consent states via your Consent Management Platform (CMP) or custom code, and making sure tags in Google Tag Manager respect the signals. This guide covers the required steps, how to verify the implementation with Tag Assistant, and what impact the new consent signals have on your GA4 and Ads data.
What Changed In V2: Ad_User_Data And Ad_Personalization
Under the consent mode update, consent mode users need to send two new parameters in addition to ad_storage and analytics_storage: ad_user_data and ad_personalization. Google describes the change as part of its strengthening of the enforcement of its EU user consent policy.
| Parameter | Allowed values | Description |
|---|---|---|
ad_user_data | 'granted' | 'denied' | Sets consent for sending user data related to advertising to Google. Google notes it is required for measurement use cases such as enhanced conversions and tag-based conversion tracking. |
ad_personalization | 'granted' | 'denied' | Sets consent for personalized advertising. |
When you set a default consent state via gtag('consent', 'default', {...}) or a Tag Manager template, you now supply all four parameters. For example, a deny-all default looks like this:
gtag('consent', 'default', {
'ad_storage': 'denied',
'ad_user_data': 'denied',
'ad_personalization': 'denied',
'analytics_storage': 'denied'
});If your consent mode implementation was deployed before this update, add the new parameters. By default, no consent mode values are set, so set a default for each consent type you use. The default command should be in place before your gtag('config', 'TAG_ID') or gtag('event', ...) calls, because Google warns that consent defaults will not work if the code runs out of order. Google recommends scoping default consent settings to the regions where you show consent banners, using the region parameter. For example, gtag('consent', 'default', {'analytics_storage': 'denied', 'region': ['ES', 'US-AK']}) sets analytics_storage to denied for Spain and Alaska, leaving other regions unaffected.
Is Consent Mode V2 Mandatory?
Google states that it is strengthening the enforcement of its EU user consent policy, and that consent mode users need to send ad_user_data and ad_personalization in addition to ad_storage and analytics_storage. If your website or app serves users in the European Economic Area (EEA), read Google's page on its updates to consent mode for EEA traffic and treat the v2 parameters as part of your setup. Whether you are legally required to collect consent, and in which regions, is a legal question: consult your legal team, because Google's documentation says its visual guides are not legal guidance.
In practice, the signals matter for what Google can do with the data. When ad_personalization is denied, remarketing in Google Ads, Display & Video 360 and Search Ads 360 will not receive data from that user. When ad_user_data is denied, personal data collection for online advertising is disabled, including user_id and enhanced conversions hashed first-party data.
Send the defaults on every page where Google tags fire, before any gtag('config', ...) or gtag('event', ...) call. If you use a CMP with a Tag Manager template, the template typically sets these defaults on the Consent Initialization - All Pages trigger, which every web container includes by default. Because current privacy laws are region-specific, Google recommends applying a 'denied' default only to visitors from the regions that need it, which avoids losing precise measurement elsewhere. Your consent mechanism, whether custom or a CMP, should give visitors from those regions the chance to update their consent state.
Short on time? Analytics Art can check this in your property for you.
Basic Vs Advanced Consent Mode
Consent mode can be deployed in a basic or advanced implementation. The difference lies in whether Google tags are blocked until consent is granted, or loaded immediately with a default state and then updated.
| Feature | Basic consent mode | Advanced consent mode |
|---|---|---|
| Tag loading | Blocked until user interacts with consent banner | Loads with defaults (e.g., all denied) before consent |
| Data transmission | No data is sent before consent | Cookieless pings sent when consent denied; full data when granted |
| Consent states | Set after user interaction | Defaults set, then updated based on user choice |
| Conversion modelling | Relies on a general model (less detailed) | Uses an advertiser-specific model (more detailed) |
Advanced mode sends measurements without cookies when consent is denied. These cookieless pings include functional information such as timestamp, user agent, and referrer, plus coarse data like a boolean consent state, a random number per page load, and an indication of whether the current or prior page contained ad-click information (GCLID/DCLID). This data enables behavioral modelling in GA4 and advertiser-specific conversion modelling in Ads. Basic mode blocks tags entirely until the user interacts, so no data flows to Google before consent, and modelling relies on a generic model. For Google Analytics 360 properties, advanced consent mode does not send additional events to Google Analytics and does not increase event-based billing. Choose the method that matches your organisation's privacy approach. Google says advanced mode enables improved modeling compared to basic, because it provides an advertiser-specific model instead of a general one.
Setting It Up With A CMP And Google Tag Manager
The easiest way to set up consent mode v2 with Google Tag Manager is to use a Consent Management Platform (CMP) that provides a community template in Tag Manager. Google recommends using a CMP for consent handling in Tag Manager, and many CMPs, including Didomi, OneTrust and Cookiebot, offer such templates. The process looks like this:
- In the Tag Manager container, go to Tags and click New.
- Choose the CMP's template from the Community Template Gallery.
- Configure the tag to fire on the built-in trigger Consent Initialization, All Pages. Google designed this trigger so consent settings are honored before other triggers fire.
- Follow the CMP's documentation to set default consent states. Tag Manager's consent APIs for this are
setDefaultConsentStateandupdateConsentState. Confirm the template setsad_storage,ad_user_data,ad_personalizationandanalytics_storage, each as'denied'or'granted'. - Publish the container.
- Review other tags in the container. For tags with built-in consent checks (Google Analytics, Google Ads, Conversion Linker, Floodight), you can set additional consent requirements under Advanced Settings > Consent Settings. Enable consent overview by going to Admin > Container Settings, then under Additional Settings select Enable consent overview. Use the Consent Overview page (Tags > Consent Overview icon) to see which tags have not been configured and to perform bulk edits.
After publishing, you can confirm the setup by previewing your container. The Consent Initialization trigger fires first, so the consent defaults are available to all subsequent tags. Tag Assistant will show the consent state on each page.
How To Check Consent Mode V2 Is Working
Use Google Tag Assistant to verify that consent mode v2 is working. In Tag Manager, click Preview to launch Tag Assistant in a new tab, then enter your website URL and click Connect. Once the site loads, select the Consent tab to see the consent types and their current state (default or updated). For a properly implemented v2 setup, the tab shows ad_storage, ad_user_data, ad_personalization, and analytics_storage, each with a value of 'denied' or 'granted' depending on the user's choice. After you interact with your consent banner, the states should change, which lets you verify that the banner's 'Accept all' button triggers a call to gtag('consent', 'update', {...}). If the states are missing or wrong, the consent default command may be missing or out of order, and Google warns that consent defaults do not work when the code runs out of order. For gtag.js, update the default snippet to include gtag('consent', 'default', ...) before your gtag('config', 'TAG_ID') call. This confirms that your tags are receiving the consent signals.
For a deeper look into debugging, see our guide on How To Use Google Tag Assistant To Test GA4 Tags. The Consent Overview page in Tag Manager also shows which tags have consent settings configured. Note that events are not visible in GA4 DebugView if consent mode is implemented and users have not given consent for Analytics cookies.
What It Does To Your GA4 And Google Ads Data
When consent is denied for storage, Google Analytics 4 and Google Ads adjust their behavior to respect user choices. With advanced consent mode, even denied consent results in cookieless pings that feed Google's modelling algorithms, filling gaps in observed data.
For GA4, when analytics_storage is 'denied', no first-party analytics cookies are read or written. Instead, Google Analytics sends pings that include coarse dimensions such as timestamp, user agent, and referrer. These pings cannot identify an individual but power behavioral and conversion modelling in GA4 properties. If ad_storage is 'denied', GA4 will not read or write Google Ads cookies, and Google signals features will not accumulate data for that traffic. When you set ads_data_redaction to 'true' alongside ad_storage='denied', ad-click identifiers in URLs are redacted in consent and key event pings.
The new v2 parameters have specific effects: ad_personalization='denied' disables personalized advertising, so remarketing in Google Ads, Display & Video 360, and Search Ads 360 will not receive data from that user. ad_user_data='denied' prevents Google from using data such as user_id and enhanced conversions hashed first-party data for online advertising. In Ads, conversion modelling moves from a general model to an advertiser-specific model when advanced consent mode is implemented, thanks to the cookieless pings sent before consent. This means that even when users decline, your Ads and GA4 reports can fill in the otherwise missing events. The pings also include an identifier for the consent platform (Developer ID), allowing Google to attribute the consent state to that platform.
Frequently Asked Questions
What Is Google Consent Mode V2?
Google Consent Mode V2 is an update that adds two new consent parameters, ad_user_data and ad_personalization, alongside ad_storage and analytics_storage. They communicate whether user data may be sent to Google for advertising and whether personalized advertising is allowed.
How Does Consent Mode V2 Affect Google Ads?
When ad_storage is denied, Ads stops reading or writing advertising cookies, truncates IPs, and uses ad-click info only for approximate measurement. ad_personalization denied disables remarketing, and ad_user_data denied disables enhanced conversions and user_id. Advanced consent mode sends cookieless pings that enable advertiser-specific conversion modelling.
Is Consent Mode V2 Mandatory For All Websites?
Google says it is strengthening enforcement of its EU user consent policy, and that consent mode users need to send the two new parameters. If your website serves users in the European Economic Area, check Google's EEA guidance and take legal advice on what applies to you. Google's documentation does not give a blanket rule for every website.
How Can I Test If Consent Mode Is Working Correctly?
Launch Google Tag Assistant from the Tag Manager Preview mode, connect to your site, and open the Consent tab. Check that ad_storage, ad_user_data, ad_personalization, and analytics_storage appear with the correct default and updated values.
What Consent Types Are In Consent Mode V2?
The four main consent types are ad_storage (advertising cookies), ad_user_data (advertising user data to Google), ad_personalization (personalized ads), and analytics_storage (analytics cookies). Google also lists functionality_storage, personalization_storage and security_storage as consent types.
Do I Need A Consent Management Platform To Use Consent Mode V2?
No, you can implement consent mode v2 with custom code using gtag.js consent commands or a Tag Manager custom template. However, a CMP that has a community template in Tag Manager simplifies the process, because consent mode itself does not save consent choices and Google recommends a CMP to handle updates.