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.
On this page · 8 sections
Sections
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.
What is Google consent mode?
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.
What are the consent types?
Each type is set to granted or denied. Google’s concept page lists seven:
| Consent type | What it controls | Added in v2 |
|---|---|---|
ad_storage | Cookies and device identifiers for advertising | No |
analytics_storage | Cookies and identifiers for analytics, such as visit duration | No |
ad_user_data | Sending user data to Google for online advertising | Yes |
ad_personalization | Personalised advertising, such as remarketing | Yes |
functionality_storage | Storage for site features, such as language settings | No |
personalization_storage | Storage for personalisation, such as video recommendations | No |
security_storage | Storage for authentication, fraud prevention and user protection | No |
“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.
Basic vs advanced consent mode
| Row | Basic | Advanced |
|---|---|---|
| When Google tags load | Only after the visitor interacts with the banner | Immediately, with consent defaulting to denied |
| Data sent before or without consent | None. Google says nothing is sent before consent, not even the default consent state | Consent state and cookieless pings |
| Cookies set while denied | None (tags not loaded) | None; Analytics does not read or write its cookies |
| Data sent after consent | Full measurement | Full measurement |
| Modelling | Conversion modelling from a general model | Advertiser-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.
How do you set up consent mode?
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'});- Pick a banner or a Google-certified CMP. Most CMPs send the consent mode commands for you.
- Set the default before the Google tag loads. In Google Tag Manager, use the consent initialisation trigger.
- Decide basic or advanced. For basic, block the tags until consent; for advanced, load them with the denied default.
- Optionally add
wait_for_update(in milliseconds) so tags wait briefly for a banner that loads asynchronously, andregionto apply a default only in certain countries. - Send the update on every choice, including a later withdrawal, and on every page.
- Check it: open the site in a private window, decline, and confirm in developer tools that no
_gacookie 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_storagedenied, for at least 7 days. - At least 1,000 daily users sending events with
analytics_storagegranted, 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.
| Row | Small site | Larger site |
|---|---|---|
| Daily visitors | 300 | 4,000 |
| Declined (50%) | 150 | 2,000 |
| Events per day with analytics_storage denied | 600 | 8,000 |
| Daily users with consent granted | 150 | 2,000 |
| Meets the 1,000 thresholds | No | Yes, after 7 qualifying days |
| What reports show | Only the 150 who accepted | The 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.
Is consent mode required?
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.
Is advanced consent mode allowed without consent?
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.
How CrispStats relates to consent mode
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.