Consent Mode v2 · setup & diagnostics

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.

What Google receives
Before the bannerAfter “Accept”
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.

60 seconds · 7 slides Complicated? Understand it in a minute What happens to your sales when a visitor clicks “Reject” — in plain words, with no jargon. Watch the explainer

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.

SignalWhat it controlsWhen it is “denied”
ad_storageAdvertising cookies and device identifiersNo ad cookies are written or read; requests go through a cookieless domain
analytics_storageAnalytics cookies, such as visit durationNo analytics cookies; in Advanced mode cookieless pings still go out
ad_user_dataSending user data to Google for advertising (new in v2)No user_id and no Enhanced Conversions data
ad_personalizationPersonalized 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.

RegionAdvertisers (Google Ads, GA4)Publishers (AdSense, Ad Manager, AdMob)
EEA — EU, Iceland, Liechtenstein, NorwayRequired: consent signals via Consent Mode v2 or TCFGoogle-certified CMP integrated with TCF
United KingdomNo verified signal expected by Google; UK law still requires consent for ad cookiesGoogle-certified CMP
SwitzerlandNo verified signal expected by Google; Swiss data protection law appliesGoogle-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.

BasicAdvanced
Before the visitor answersGoogle tags blocked — nothing is sent, not even the consent stateTags load with “denied”; cookieless pings are sent
After “Accept”Full measurementFull measurement
After “Reject”Nothing is sentCookieless pings: no cookies, no identifiers
Conversion modeling in Google AdsGeneral modelModel specific to your account — more accurate
GA4 behavioral modelingNot availableAvailable 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.

  1. 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.

  2. 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>
  3. 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'
    });
  4. 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']
    });
  5. 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);
  6. 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.

  7. 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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

SymptomLikely causeFix
EEA conversions dropped after the banner went liveBasic mode, or the banner script blocks Google tags — nothing is sent for people who declineLoad Google tags with “denied” defaults instead of blocking them (Advanced mode)
EEA remarketing audiences stopped growingConsent 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 impactDefault set after config, missing on some pages, under 7 days of data, or below 700 ad clicks per 7 days per country and domainPut the default first on every page, wait 7 full days, check the thresholds
GA4 users dropped and nothing is modeledBasic mode, thresholds not met, or reporting identity not set to BlendedSwitch to Advanced, check the 1,000-event and 1,000-user thresholds, select Blended
Google cookies appear before the visitor answersNo default, a “granted” default for the EEA, or a hard-coded tag above the bannerSet “denied” defaults at the very top of the page and re-check tag order
Visitor accepts, but signals stay deniedUpdate not called, called only after a reload, or GTM uses gtag update instead of updateConsentStateFire the update on the click, on the same page; in GTM use the consent API or CMP template
Consent is forgotten on the next pageThe choice is not stored, or the update is not repeated on later pagesStore the choice in the CMP and call the update on every page load
Meta or TikTok pixel fires without consentConsent Mode governs Google tags onlyAdd 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
2–5×

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.

0/12done

Who does the work

Serg, Founder · Principal Data Architect
Founder · Principal Data Architect

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, Head of Product Engineering · Full-Stack
Head of Product Engineering · Full-Stack

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?
For advertisers with traffic from the EEA, yes: Google’s EU user consent policy requires consent signals for EEA users, sent through Consent Mode or the IAB TCF. For the UK and Switzerland Google does not expect a verified signal from advertisers, but local privacy law still requires consent for ad cookies.
Does it apply if my business is outside the EU?
Yes. The policy applies to end users located in the EEA, the UK and Switzerland, wherever the business is based. If people from these regions visit your site and you use Google’s ad or analytics tags, it applies to you.
Is Consent Mode a cookie banner?
No. The banner (CMP) asks the visitor; Consent Mode passes the answer to Google’s tags. You need a banner that sends Consent Mode signals.
Basic or Advanced — which is legal?
Both are Google-supported. Advanced sends cookieless pings without identifiers when consent is denied, which keeps modeling accurate. Whether that fits your legal basis is a decision for your legal team; Basic is the stricter option.
Why did my conversions drop after adding a banner?
Usually because the setup is Basic or the banner blocks Google tags, so nothing is sent for people who decline, or because ad_user_data and ad_personalization are missing. Decode a request with the tool above to see which.
How long until Google Ads shows modeled conversions?
Impact results appear after at least 7 full days with Consent Mode, if the account has at least 700 ad clicks over 7 days per country and domain. Uplift under 1% is not shown.
Does Consent Mode work with server-side tagging?
Yes. The consent state travels inside each request, and server-side tags must read and respect it. We set this up as part of our server-side tracking.
Can you work in my language?
Yes. Send the request in your language — we reply and run the technical correspondence in it, and do the work remotely on your platform.

Sources

  1. Google for Developers: Consent mode overview
  2. Google for Developers: Set up consent mode on websites
  3. Google for Developers: Debug consent mode
  4. Google: Help with the EU user consent policy
  5. Google Ads Help: Fix issues with your EU user consent policy audit
  6. Google Ads Help: About consent mode modeling
  7. Google Analytics Help: Behavioral modeling for consent mode
  8. Google Analytics Help: Verify consent settings
  9. Tag Manager Help: Consent mode impact

Check or set up your Consent Mode

Tell us about your site and platform — in your language. We reply within one working day and run the whole technical correspondence in it.

We will contact you at the email you entered shortly.

Or reach us directly
Talk to a specialist

Book a consultation with a specialist.

Leave three details and the specialist who would run your account will get back to you within one business day — to go through your advertising, tracking and growth plans together.

  • 100%projects based on reliable analytics
  • −30%average decrease in acquisition cost
  • 12+ moaverage client retention
Or reach us directly