Skip to content

Privacy

Google consent mode explained: basic vs advanced, v2 and what it sends

Google consent mode passes your banner's answer to Google tags. The consent types, basic vs advanced, what cookieless pings contain and when modelling applies.

The CrispStats team · · 8 min read

In short

Google consent mode is an API that tells Google tags, such as Google Analytics and Google Ads, whether a visitor accepted or declined cookies, so the tags change what they store and send. It does not show a banner or collect consent; your banner or consent platform does that and passes the answer on. In basic mode the tags do not load until the visitor accepts; in advanced mode they load at once and send cookieless pings while consent is denied, which Google uses to model the missing data. Google requires consent signals for EEA traffic to keep using its personalisation and measurement features.

Consent mode sits between two things site owners already have: a cookie banner and Google’s tags. Without it, the usual setup is to block the tags until someone clicks accept. With it, the tags are told the visitor’s choice and adjust. Everything below comes from Google’s own developer and help pages, linked in place, read on 23 November 2026.

In Google’s words, consent mode lets web and app developers adjust tag and SDK behaviour based on user consent choices. You obtain consent with a banner, a custom solution or a consent management platform (CMP), and pass the state to Google. Google’s Ads help page is explicit that consent mode does not provide a banner or widget.

That separation matters. Consent mode is plumbing, not consent itself. A banner that pre-ticks boxes or hides the reject button stays a bad banner whether or not consent mode relays its answer.

Each type is set to granted or denied. Google’s concept page lists seven:

Source: Google’s consent mode overview.
Consent typeWhat it controlsAdded in v2
ad_storageCookies and device identifiers for advertisingNo
analytics_storageCookies and identifiers for analytics, such as visit durationNo
ad_user_dataSending user data to Google for online advertisingYes
ad_personalizationPersonalised advertising, such as remarketingYes
functionality_storageStorage for site features, such as language settingsNo
personalization_storageStorage for personalisation, such as video recommendationsNo
security_storageStorage for authentication, fraud prevention and user protectionNo

“Consent mode v2” is the name for the version with the two newer parameters, ad_user_data and ad_personalization. Google added them while strengthening enforcement of its EU user consent policy: to keep using ad personalisation and measurement features with traffic from the European Economic Area, advertisers must collect consent and send these signals to Google.

Sources: consent mode overview and consent mode in Google Analytics.
RowBasicAdvanced
When Google tags loadOnly after the visitor interacts with the bannerImmediately, with consent defaulting to denied
Data sent before or without consentNone. Google says nothing is sent before consent, not even the default consent stateConsent state and cookieless pings
Cookies set while deniedNone (tags not loaded)None; Analytics does not read or write its cookies
Data sent after consentFull measurementFull measurement
ModellingConversion modelling from a general modelAdvertiser-specific conversion modelling and Analytics behavioural modelling, if eligible

What is in a cookieless ping?

Google’s Analytics help page lists what pings sent while consent is denied can contain:

  • Functional information: a timestamp, the user agent (on the web) and the referrer.
  • Coarse information: whether an ad click id such as GCLID or DCLID was in the URL, a boolean consent state, a random number generated on each page load, and consent platform information such as a developer id.

Pings go out on page load and when events are logged. Like any web request, they also reach Google’s servers with the visitor’s IP address. This is the part regulators and privacy advocates debate: no cookie is set, but the browser is still instructed to send information about the visit to Google before or without consent.

The developer guide uses two commands. A default runs before any Google tag fires, then an update runs when the visitor answers:

// 1. Before any config or event commandgtag('consent', 'default', {  'ad_storage': 'denied',  'ad_user_data': 'denied',  'ad_personalization': 'denied',  'analytics_storage': 'denied'});// 2. When the visitor acceptsgtag('consent', 'update', {  'ad_user_data': 'granted',  'ad_personalization': 'granted',  'ad_storage': 'granted',  'analytics_storage': 'granted'});
  1. Pick a banner or a Google-certified CMP. Most CMPs send the consent mode commands for you.
  2. Set the default before the Google tag loads. In Google Tag Manager, use the consent initialisation trigger.
  3. Decide basic or advanced. For basic, block the tags until consent; for advanced, load them with the denied default.
  4. Optionally add wait_for_update (in milliseconds) so tags wait briefly for a banner that loads asynchronously, and region to apply a default only in certain countries.
  5. Send the update on every choice, including a later withdrawal, and on every page.
  6. Check it: open the site in a private window, decline, and confirm in developer tools that no _ga cookie appears.

Two optional settings change what ads data travels without consent. url_passthrough passes ad click information in URLs between pages when cookies are denied, and ads_data_redaction redacts ad click identifiers in requests when ad_storage is denied.

When does Google Analytics model the missing data?

Only in advanced mode, and only past a threshold. Google’s behavioural modelling page lists the prerequisites:

  • Consent mode is enabled on all pages, and Google tags load in all cases, not only after consent.
  • At least 1,000 events per day with analytics_storage denied, for at least 7 days.
  • At least 1,000 daily users sending events with analytics_storage granted, on at least 7 of the previous 28 days.
  • The Blended reporting identity is selected in the property’s settings.

Google adds that meeting the thresholds does not guarantee eligibility, and that modelled data disappears if a property stops qualifying.

Worked example: which sites qualify for modelling

Take two sites, each with 50% of EU visitors declining the banner and about 4 events per visitor per day.

Worked example: which sites qualify for modelling
RowSmall siteLarger site
Daily visitors3004,000
Declined (50%)1502,000
Events per day with analytics_storage denied6008,000
Daily users with consent granted1502,000
Meets the 1,000 thresholdsNoYes, after 7 qualifying days
What reports showOnly the 150 who acceptedThe 2,000 who accepted plus a modelled estimate for the rest

The 50% and the events per visitor are assumptions for the example. The point is that small sites running advanced mode send pings for declining visitors but do not qualify for modelling until they grow, so they get the privacy cost of the pings without the reporting benefit.

For advertisers with EEA traffic who want to keep using Google’s personalisation and measurement features, Google requires them to collect consent and send the signals to Google. Its EU user consent policy covers users in the EEA, the UK and Switzerland and requires consent for cookies or other local storage where legally required, and for personal data used to personalise ads, along with records of consent and clear instructions for withdrawing it. Publishers that show personalised Google ads in those regions must also use a Google-certified CMP integrated with the IAB’s Transparency and Consent Framework.

That is Google’s contractual requirement. It is separate from what the law requires of you. Consent mode does not make a setup lawful by itself, and a site can comply with Google’s policy and still have a banner that regulators would not accept.

There is no single published answer. The EDPB’s guidelines on the technical scope of the device rule, adopted in October 2024, say that JavaScript instructing the browser to send information to a server is a form of gaining access to the device, so the rule can apply even when nothing is stored. Whether a specific exemption then covers it is assessed case by case. Cookieless pings to an advertising vendor are a long way from the narrow audience measurement exemptions some regulators describe, which exclude advertising purposes. The EDPB’s reading also covers cookieless tracking in general. Decide basic or advanced with your own counsel; our guide to analytics and consent in Europe lists what each regulator has published.

CrispStats has no consent mode, because none of the seven consent types has anything to control in it: no advertising storage, no analytics cookie, nothing written to the device by default. Visitors are counted with a daily rotating visitor hash, so the small site in the worked example sees all 300 daily visitors, not 150 measured plus nothing modelled. You can run it alongside Google Analytics in basic consent mode and compare the two counts to learn your real acceptance rate.

Two limits, stated plainly. CrispStats is not an advertising platform, so it does not replace Google Ads conversion tracking or audiences. And the opt-in persistent visitors mode stores an id in localStorage, so if you switch it on, load it only after consent, as you would any other storage. Whether your site needs a banner at all is a question for your own counsel; the cookie banner guide covers how to think about it.

Guide questions. Straight answers.

What people ask after reading this.

  • No. Consent mode only passes a visitor's choice to Google's tags. You still need a lawful banner, a legal basis, a privacy notice, Google's data processing terms and sensible retention settings. Your own counsel decides whether the whole setup holds.

  • Version 2 adds two consent types, ad_user_data and ad_personalization, on top of ad_storage and analytics_storage. Google uses them to know whether it may use a visitor's data for advertising and for personalised ads, and requires them for EEA traffic to keep personalisation and measurement features.

  • No. Google says that in basic mode the tags are blocked until the visitor interacts with the banner, and that no data is sent before consent, not even the default consent state. Conversion modelling then uses a general model rather than one built from your site.

  • Not strictly: you can call the consent commands from your own banner. Google does require publishers serving personalised Google ads to users in the EEA, the UK and Switzerland to use a Google-certified CMP, and many advertisers use one because it handles the commands and records.

  • Because of behavioural modelling. In advanced mode, if your property meets Google's thresholds and uses the Blended reporting identity, reports include estimates for visitors who declined, based on cookieless pings and the behaviour of visitors who accepted.

Not answered here? Write to hello@crispstats.com

Go further

Your traffic, crisp and clear

One script, no cookies, and every feature from the first day. Set up takes about as long as pasting a snippet.