Google Consent Mode v2: setup and diagnostics
Google Consent Mode v2 is the way your site tells Google tags whether a visitor agreed to cookies and to the use of their data for ads. Since March 2024 Google has required these signals from advertisers for traffic from the European Economic Area — without them, EEA visitors drop out of remarketing and conversion data gets thinner. Below: how to set it up, how to check it in five minutes, and what to fix when the numbers fall.
ad_storage denied granted analytics_storage denied granted ad_user_data denied granted ad_personalization denied granted Four signals, set before any tag fires and updated on the visitor’s click.
In short
- What it is
- Google’s API that tells its tags whether a visitor agreed to cookies and to ad data use
- Who must use it
- Advertisers with traffic from the EEA: the EU plus Iceland, Liechtenstein and Norway
- Version
- v2 since November 2023: four signals, including ad_user_data and ad_personalization
- Without it
- EEA users drop out of audiences; a failed Google audit can limit measurement
- What we do
- Setup or diagnostics for your platform — in your language, in written technical correspondence
What is Google Consent Mode v2?
Consent Mode is a Google API: your consent banner passes the visitor’s choice to Google tags, and the tags adjust what they store and send. Version 2, released in November 2023, added two signals about the use of data for advertising — ad_user_data and ad_personalization — to the original ad_storage and analytics_storage.
Consent Mode is not a banner. The banner (a consent management platform, CMP) asks the question; Consent Mode carries the answer to Google’s tags. You need both.
| Signal | What it controls | When it is “denied” |
|---|---|---|
ad_storage | Advertising cookies and device identifiers | No ad cookies are written or read; requests go through a cookieless domain |
analytics_storage | Analytics cookies, such as visit duration | No analytics cookies; in Advanced mode cookieless pings still go out |
ad_user_data | Sending user data to Google for advertising (new in v2) | No user_id and no Enhanced Conversions data |
ad_personalization | Personalized advertising (new in v2) | No remarketing and no personalized ads |
Three more types — functionality_storage, personalization_storage and security_storage — describe storage for your own site features. Google’s ads and analytics tags do not depend on them.
Is Consent Mode v2 mandatory — and where?
For advertisers, yes — for traffic from the European Economic Area. Google’s EU user consent policy requires advertisers to send consent signals for EEA users through Consent Mode or the IAB TCF. For the UK and Switzerland Google does not expect a verified signal from advertisers, but publishers there must use a Google-certified CMP — and local privacy law still asks for consent to ad cookies.
| Region | Advertisers (Google Ads, GA4) | Publishers (AdSense, Ad Manager, AdMob) |
|---|---|---|
| EEA — EU, Iceland, Liechtenstein, Norway | Required: consent signals via Consent Mode v2 or TCF | Google-certified CMP integrated with TCF |
| United Kingdom | No verified signal expected by Google; UK law still requires consent for ad cookies | Google-certified CMP |
| Switzerland | No verified signal expected by Google; Swiss data protection law applies | Google-certified CMP (policy extended on 31 July 2024) |
The policy applies to end users in these regions wherever your business is based. Google audits sites the way a visitor sees them; if issues are not fixed, it may suspend ad personalization and remarketing and/or conversion measurement for the account. And since early March 2024, when no signals are sent, only users outside the EEA are added to the audiences your linked ad products use.
Basic or Advanced Consent Mode: which one?
In Basic mode Google tags are blocked until the visitor answers, and nothing is sent if they decline. In Advanced mode the tags load with “denied” and send cookieless pings — no cookies, no identifiers — which lets Google model the conversions it cannot observe.
| Basic | Advanced | |
|---|---|---|
| Before the visitor answers | Google tags blocked — nothing is sent, not even the consent state | Tags load with “denied”; cookieless pings are sent |
| After “Accept” | Full measurement | Full measurement |
| After “Reject” | Nothing is sent | Cookieless pings: no cookies, no identifiers |
| Conversion modeling in Google Ads | General model | Model specific to your account — more accurate |
| GA4 behavioral modeling | Not available | Available once the thresholds are met |
We recommend Advanced where your legal team approves it: it keeps modeling accurate and it is what Google’s diagnostics expect. Basic is the stricter option, and it gives up account-specific modeling.
How to set up Consent Mode v2, step by step
Set the default before any Google tag fires, update it the moment the visitor answers, and send all four signals. Most broken setups get one of these three wrong.
- 01
Choose a consent banner (CMP)
As an advertiser you can use any banner that sends Consent Mode signals — a Google-certified CMP does it out of the box, and your own banner works too if it calls the consent API below. A certified CMP is mandatory only for publishers that sell ad space through AdSense, Ad Manager or AdMob.
- 02
Set the default before any tag
On every page, before any config or event command. wait_for_update gives an asynchronous banner 500 ms to load the visitor’s saved choice.
<script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('consent', 'default', { 'ad_storage': 'denied', 'ad_user_data': 'denied', 'ad_personalization': 'denied', 'analytics_storage': 'denied', 'wait_for_update': 500 }); </script> - 03
Update on the visitor’s click
Call the update on the same page as the click — not after a reload. Consent Mode does not remember choices: your banner must store them and repeat the update on every later page.
gtag('consent', 'update', { 'ad_storage': 'granted', 'ad_user_data': 'granted', 'ad_personalization': 'granted', 'analytics_storage': 'granted' }); - 04
Limit the defaults to the right regions
Add a region parameter with ISO 3166-2 codes to apply “denied” only where your banner is shown. A more specific region wins over a broader one.
gtag('consent', 'default', { 'ad_storage': 'denied', 'region': ['DE', 'FR', 'IT', 'ES', 'NL', 'PL'] }); - 05
Keep ad clicks measurable without cookies
url_passthrough carries the click ID in links when cookies are denied; ads_data_redaction removes ad-click identifiers from requests while ad_storage is denied. Both go before any config command.
gtag('set', 'url_passthrough', true); gtag('set', 'ads_data_redaction', true); - 06
In Google Tag Manager: use the consent APIs
Use your CMP’s template or the setDefaultConsentState and updateConsentState APIs — Google warns not to use gtag(“consent”, “update”) inside GTM instead. Then add consent checks to non-Google tags such as the Meta or TikTok pixel: Consent Mode only governs Google’s own tags.
- 07
Server-side setups pass the state on
With server-side tagging the consent state travels inside each request (the gcs and gcd parameters). Server tags must read it and respect it — otherwise the server sends what the browser was told not to.
How to check that Consent Mode works
Look at what Google actually receives, not at the banner’s settings screen. Five checks, about five minutes.
- 01
No cookies before the answer
Open the site in a private window and do not touch the banner. In DevTools → Application → Cookies there should be no _ga, _gcl_au or other Google cookies yet.
- 02
Read the request
In DevTools → Network, filter by “collect” and open a request to google-analytics.com or googleadservices.com. Copy it into the decoder below: gcs shows ad_storage and analytics_storage, gcd shows all four signals and how each was set.
- 03
Tag Assistant
At tagassistant.google.com, the earliest Consent event should show the four defaults under “On-page Default”; after “Accept”, the latest one shows them granted under “On-page Update”. An empty Consent tab means Consent Mode is not implemented.
- 04
GA4 consent settings
Admin → Data collection and modification → Consent settings. Both ad_user_data and ad_personalization should be reported as set up. Changes take 48–72 hours to show.
- 05
Google Ads diagnostics
Goals → Summary → hover the conversion status: it should read “Conversion modeling for consent mode is active”. “View impact” opens Diagnostics; results appear after at least 7 full days, and uplift under 1% is not shown.
Decode your consent signals
Paste a Google request from the Network tab — or just a gcs or gcd value — and see what Google received for each signal.
gcs follows Google’s documented format (G1 + ad_storage + analytics_storage). The gcd letter key is decoded from observed behaviour; Google notes these field names may change.
Symptoms, causes and fixes
When numbers drop after a consent banner goes live, the cause is almost always one of these.
| Symptom | Likely cause | Fix |
|---|---|---|
| EEA conversions dropped after the banner went live | Basic mode, or the banner script blocks Google tags — nothing is sent for people who decline | Load Google tags with “denied” defaults instead of blocking them (Advanced mode) |
| EEA remarketing audiences stopped growing | Consent Mode v1: ad_user_data and ad_personalization are never sent (gcd shows “l”) | Update the CMP or the code to v2 and send all four signals |
| Google Ads shows no consent mode impact | Default set after config, missing on some pages, under 7 days of data, or below 700 ad clicks per 7 days per country and domain | Put the default first on every page, wait 7 full days, check the thresholds |
| GA4 users dropped and nothing is modeled | Basic mode, thresholds not met, or reporting identity not set to Blended | Switch to Advanced, check the 1,000-event and 1,000-user thresholds, select Blended |
| Google cookies appear before the visitor answers | No default, a “granted” default for the EEA, or a hard-coded tag above the banner | Set “denied” defaults at the very top of the page and re-check tag order |
| Visitor accepts, but signals stay denied | Update not called, called only after a reload, or GTM uses gtag update instead of updateConsentState | Fire the update on the click, on the same page; in GTM use the consent API or CMP template |
| Consent is forgotten on the next page | The choice is not stored, or the update is not repeated on later pages | Store the choice in the CMP and call the update on every page load |
| Meta or TikTok pixel fires without consent | Consent Mode governs Google tags only | Add consent checks to non-Google tags in GTM |
Conversion modeling: what Consent Mode gives back
For visitors who decline, Google estimates the conversions it cannot observe. Modeling needs Advanced mode and enough data — below the thresholds, there is nothing to model.
GA4 behavioral modeling
- At least 1,000 events a day with analytics_storage “denied”, for at least 7 days
- At least 1,000 daily users with analytics_storage “granted”, on at least 7 of the previous 28 days
- Consent Mode on every page, in Advanced mode
- Shown under the Blended reporting identity — users and sessions only, not event counts
Google Ads conversion modeling
- Consent Mode or TCF implemented correctly
- At least 700 ad clicks over 7 days, per country and domain
- Impact visible after at least 7 full days; uplift under 1% is not shown
- Modeled conversions appear in the regular Conversions column
Google: consented users are typically 2–5 times more likely to convert than unconsented ones — which is why losing them from measurement skews bidding.Source: Google Ads Help, consent mode modeling
What changed in 2026
Google’s policy page states that from August 2026 it began launching IP-based ads measurement and personalization in the EEA, the UK and Switzerland. IP addresses are personal data under the GDPR, so the consent signals — above all ad_user_data and ad_personalization — now govern even more of what Google may do with a visit.
Self-check: 12 points
Tick what your site already does. Anything left unticked is where data is lost.
Who does the work
Serg
Most EEA accounts we open have Consent Mode “installed” — and still lose data, because the default fires after the tags or only two of the four signals are sent. The banner looks right, the reports look normal, and the remarketing lists quietly stop growing. The diagnosis takes minutes; the loss runs for months.
Nicko Belick
Consent Mode is mostly about order: default first, tags second, update on the click. We check it in the network requests, not in the banner’s settings — the request shows what Google actually received.
Questions about Consent Mode v2
Is Consent Mode v2 mandatory?
Does it apply if my business is outside the EU?
Is Consent Mode a cookie banner?
Basic or Advanced — which is legal?
Why did my conversions drop after adding a banner?
How long until Google Ads shows modeled conversions?
Does Consent Mode work with server-side tagging?
Can you work in my language?
Sources
- Google for Developers: Consent mode overview
- Google for Developers: Set up consent mode on websites
- Google for Developers: Debug consent mode
- Google: Help with the EU user consent policy
- Google Ads Help: Fix issues with your EU user consent policy audit
- Google Ads Help: About consent mode modeling
- Google Analytics Help: Behavioral modeling for consent mode
- Google Analytics Help: Verify consent settings
- Tag Manager Help: Consent mode impact