Consent Mode v2: what it is and how to set it up correctly
To The Sky ·
Consent Mode v2 passes the choice a visitor makes in your cookie banner to Google tags. It does not replace the banner or create valid consent by itself. If you run an online store or promote a website through Google and Meta, your setup needs to connect that choice to how each platform behaves.
| Parameter | What it controls | If the visitor refuses |
|---|---|---|
| ad_storage | Advertising cookies. | Permission to use advertising cookies is not granted. Advanced mode can still send cookieless signals. |
| analytics_storage | Analytics cookies. | Permission to use analytics cookies is not granted. Advanced mode can still send cookieless signals. |
| ad_user_data | Sending user data to Google for advertising. It also matters for tag-based conversion measurement and enhanced conversions. | Permission to send this data to Google for advertising is not granted. Refusal affects measurement that depends on this consent and prevents personalized advertising. |
| ad_personalization | Ad personalization, including remarketing. | Permission to personalize ads is not granted. Personalization also requires ad_user_data to be granted. |
ad_storage
- What it controls
- Advertising cookies.
- If the visitor refuses
- Permission to use advertising cookies is not granted. Advanced mode can still send cookieless signals.
analytics_storage
- What it controls
- Analytics cookies.
- If the visitor refuses
- Permission to use analytics cookies is not granted. Advanced mode can still send cookieless signals.
ad_user_data
- What it controls
- Sending user data to Google for advertising. It also matters for tag-based conversion measurement and enhanced conversions.
- If the visitor refuses
- Permission to send this data to Google for advertising is not granted. Refusal affects measurement that depends on this consent and prevents personalized advertising.
ad_personalization
- What it controls
- Ad personalization, including remarketing.
- If the visitor refuses
- Permission to personalize ads is not granted. Personalization also requires ad_user_data to be granted.
The four Consent Mode v2 parameters and what refusal means
What Consent Mode v2 actually does
Think of the banner as the place where a visitor makes their choice. Consent Mode is the mechanism that passes that choice to Google tags. A tag is a piece of code that sends data to a service, for example for analytics or conversion measurement.
If someone clicks “Reject all,” making the banner disappear is not enough. Their choice needs to be passed on, and the tags need to behave according to the consent state they receive. The same applies when someone accepts or changes their preferences later.
For you as a store owner, this makes a practical difference. You can have a banner that looks good while the setup behind it fails to communicate refusal correctly. You can also have the Google parameters configured correctly while the Meta pixel starts separately, without waiting for marketing consent.
That is why we treat the banner, Google Tag Manager, and the tags as parts of the same setup. Google Tag Manager, or GTM, is the tool you use to manage website tags. The banner's appearance is only the visible part; you also need to check what happens behind it.
This guide explains the technical side and is not legal advice. Consent Mode does not replace valid consent. A specialist should determine the appropriate legal approach for your website. For the big picture, read our complete guide to online ads for small businesses.
The four parameters: what visitors accept or refuse
Consent Mode v2 uses four parameters that are worth understanding separately. Each describes a type of permission. “Granted” means permission has been given, while “denied” means it has been refused. One granted parameter should not be treated as permission for every other use.
ad_storage controls advertising cookies. If the visitor refuses, permission to use those cookies is not granted. analytics_storage controls analytics cookies. Refusing it means you do not have permission for those cookies. In an Advanced implementation, tags can still send cookieless signals; refusing storage does not automatically mean that all communication stops.
Version two adds ad_user_data and ad_personalization. The first controls sending user data to Google for advertising. Do not treat it as a setting that only affects audiences: tag-based conversion measurement and enhanced conversions also depend on this consent.
Enhanced conversions is a measurement feature that uses data users provide directly. If ad_user_data is denied, do not assume this feature can continue independently of the person's choice.
ad_personalization covers personalized advertising, including remarketing. Remarketing means advertising to people who have already interacted with your business. Personalization requires both ad_user_data and ad_personalization to be granted.
When checking the setup, read each state separately. A partial acceptance in the banner should not become permission for all four categories because of an incorrect mapping.
Basic or Advanced: what you choose and what you lose
The difference between Basic and Advanced starts before a visitor clicks a button. In Basic mode, Google tags do not load at all until the visitor makes a choice in the banner. In Advanced mode, they load with a default consent state, generally “denied” in the EU.
If the person refuses, Advanced allows cookieless signals to be sent. These signals can support better conversion modeling through a model specific to your account rather than a general one. Modeling means estimating conversions that cannot be observed directly.
That does not mean Advanced automatically recovers every lost conversion. It also does not turn refusal into acceptance. The parameters still describe the visitor's choice, and the availability of modeling also depends on the platform's conditions.
With Basic, you accept that the tags do not communicate before a choice is made. With Advanced, you accept an implementation where cookieless communication can happen even when someone refuses. This is the difference to understand before discussing more complete reports.
We start with the intended behavior of the tags and the legal decision established with your specialist. We then configure and test the selected approach. We do not choose Advanced solely for the promise of more data, and we do not present Basic as an automatic guarantee of compliance.
Setting up Consent Mode v2 with a banner and GTM
1. Identify the existing banner and tags. A CMP is a platform that manages visitors' consent choices. Check which banner choice corresponds to each Google parameter and to the marketing consent used by other platforms.
2. Decide whether the implementation will be Basic or Advanced. That choice must be reflected in when tags load, not just in the name of an option in the banner.
3. Set the default state before tags send data. In the EU, this is generally “denied.” A simplified example is: gtag('consent','default',{'ad_storage':'denied','analytics_storage':'denied','ad_user_data':'denied','ad_personalization':'denied'}). This example shows the state, but it is not a complete banner and GTM setup on its own.
4. Connect the banner choice to a consent update. For acceptance of all categories, the example is: gtag('consent','update',{'ad_storage':'granted','analytics_storage':'granted','ad_user_data':'granted','ad_personalization':'granted'}). For refusal or partial acceptance, send the states that match the actual choice. Do not use the acceptance example for every button click.
5. Configure marketing consent separately for Meta and TikTok. Google's parameters do not automatically control these platforms.
6. Test acceptance, refusal, changes to preferences, and navigation to another page. Check that the correct state reaches the tags every time.
On tothesky.agency, we use a default state of “denied,” Google Tag Manager, and a banner where “Accept all” and “Reject all” are equally visible on the first screen.
Meta and TikTok need separate consent handling
Google Consent Mode passes the visitor's choice to Google tags. The Meta pixel, also known as the Facebook pixel, and TikTok do not read this mechanism. A pixel is a tag a platform uses to measure interactions on a website.
If you have set ad_storage to “denied,” do not assume you have also stopped the Meta pixel. If ad_personalization is denied, do not assume the same choice has automatically been passed to TikTok. For these platforms, starting or blocking tags must be connected separately to marketing consent.
In practice, you need to check each platform you use. Start with a visit where no banner choice has been made. Continue with “Reject all,” then test acceptance of marketing. Watch whether the tags remain blocked or start according to the selected option.
On our website, the Meta pixel starts only after marketing consent. We check that behavior separately from the Consent Mode states. Google receiving the correct signal does not automatically confirm that Meta is configured correctly too.
If you advertise the same store on Google and Meta, request a check that includes both. Otherwise, one part can work correctly while a pixel starts too early elsewhere. The banner is shared, but each integration needs to respect the relevant choice.
How to check it works: GTM, Google Ads, and GA4
Do not consider the setup finished just because the banner appears and its buttons respond. You need to see the consent states and tag behavior. Start with a clear scenario: a visitor who has not made any choice yet.
In Google Tag Manager, open Preview mode. This is the testing mode where you can inspect consent states, among other things. Check the default state, then click “Reject all” and observe the result. Repeat for acceptance and, if the banner supports it, a partial choice.
Look separately at ad_storage, analytics_storage, ad_user_data, and ad_personalization. Check the order: the default state must be established before tags send data. After the visitor makes a choice, you should see the appropriate update. Then navigate to another page and check that the choice continues to be reflected correctly.
In Google Ads, review the consent mode diagnostics. In GA4, check the consent settings under Admin. GA4 is the Google Analytics service used for website statistics. These checks complement testing in GTM; do not stop because a single screen looks correct.
Finally, check the Meta pixel and any TikTok tags separately. Record what you selected and what happened in each scenario. This helps you identify a specific problem, such as acceptance failing to update ad_user_data, instead of vaguely concluding that “the banner does not work.”
What data you will lose and what you can do
After setup, you may see less complete reports. Not every drop indicates a technical problem: visitor refusals limit the available data. In our own Microsoft Clarity setup, we have seen far fewer sessions when visitors do not give consent through the banner.
Do not rely on modeling to fill every gap automatically. For behavioral modeling in GA4, Google's requirements include at least 1,000 events per day with analytics_storage denied for at least 7 days. They also include at least 1,000 users per day with analytics_storage granted on at least 7 of the previous 28 days.
Meeting these thresholds does not guarantee modeling. Small websites usually do not reach them and will simply see less data. Google Ads can model conversions only above a minimum volume of clicks per country and domain. Ads conversion modeling should not be confused with GA4 behavioral modeling.
What can you do? First, check that an incorrect implementation is not causing avoidable data loss. Then discuss enhanced conversions, remembering that they depend on ad_user_data. First-party data is data people give you directly, for example when placing an order.
This data belongs in the measurement discussion, but it is not a shortcut around refusal. Establish appropriate uses with your specialist and keep realistic expectations about your reports.
Common mistakes worth checking
The first mistake is setting the default state too late. If tags have already sent data, sending “denied” afterwards does not follow the required order. Check the initial loading sequence, not just the state displayed after the page has fully opened.
The second is a banner that emphasizes acceptance but does not offer “Reject all” on the first screen. On our website, both buttons are equally visible. Use this example when discussing your banner setup, without treating it as a complete legal assessment.
The third is starting the Meta pixel before marketing consent. Google's parameters can be correct while this problem still exists. Test Meta separately, including before any choice is made and after refusal.
The fourth is an update that is missing or no longer reaches the tags correctly after a page change. Do not limit testing to the first page. Navigate through the website and change preferences to check that the state still reflects the person's choice.
Check one more common misunderstanding: ad_user_data is not only about ad personalization. It also matters for measurement. And granting ad_personalization alone is not enough for personalized advertising.
For us, a setup is ready to use after we have checked its behavior in concrete scenarios. A visible banner and a reassuring message in a tool do not replace testing acceptance, refusal, and navigation.
How we made this guide: we started from our own work, in the accounts we manage and the tools we use. An AI assistant helped us with the draft and structure. Before publishing, we checked every figure, step and link against our own data and setup.
In short
Consent Mode v2 works correctly when the banner choice reaches Google tags, the default state is set on time, and updates reflect what the visitor selected. Meta and TikTok need separate configuration, and modeling does not guarantee recovery of missing data. Our checks start with what the tags actually do after acceptance and refusal.