GTM Consent Mode v2 explained: the handshake between your banner and your tags
The thing it actually is
Consent Mode is a Google-defined API that sits between your cookie banner and anything that fires a Google tag, such as GA4, Google Ads, Floodlight and Campaign Manager. It works as a contract: your banner sets a small set of flags that say which categories of data the visitor consented to, and before any Google tag does anything, it checks them. Version 2 adds two advertising signals, ad_user_data and ad_personalization, to the two storage signals of v1.
Version 2 (launched March 2024, mandatory for EEA advertisers using Google's ads products) extended the v1 vocabulary with two new signals specifically aimed at advertising personalisation. There are now four flags a consent banner must set:
analytics_storage("granted" / "denied"): can GA4 read/write its cookie and send eventsad_storage: can Ads/Floodlight read/write its cookiead_user_data: can user identifiers be sent to Google for ads usead_personalization: can the data be used for remarketing and personalised ads
The last two are the v2 additions, and they're the reason every CMP had to ship an update in early 2024.
Why did March 2024 raise the stakes?
Before v2, Consent Mode was a strong recommendation. After March 2024 it became a gate: if you're an advertiser serving EEA traffic through Google Ads or GA4, and you don't send Consent Mode v2 signals, Google will not process the data for remarketing, audience expansion, or enhanced conversions.
You won't see an error. You'll see your audiences quietly stop growing, and conversion reporting get noisier. That's how it fails: the page keeps working while the data quietly goes missing.
For non-EEA traffic Consent Mode is still optional, but because most sites don't want to run two different tag stacks by geography, in practice everyone flipped the switch globally.
Basic mode vs advanced mode: which should you choose?
This is where CMPs diverge, and it's worth understanding before you pick one.
Basic mode: Google tags don't load at all until consent is granted. If a visitor denies, no pings, no cookies, no nothing. Simple and deterministic. The downside is that you lose all data from visitors who deny, including the denial itself, so conversion modelling can't fill in the gap. Typical EEA consent rates of 40–70% translate directly into 40–70% measured data.
Advanced mode: Google tags load with all signals defaulted to denied. They fire cookieless pings, which carry anonymised event data with no identifiers and no cookies, before consent is resolved. When consent is granted, the signals update and the tag switches to full-data mode. If consent is denied, the cookieless pings continue, and Google uses them to statistically model the missing conversions.
Advanced recovers roughly 60–80% of the lost conversion signal, depending on traffic volume. The tradeoff is complexity: your banner must set the default state before gtag.js or the GTM container loads, and update it the moment the user clicks accept/reject. Get the ordering wrong and you either leak data pre-consent (regulator risk) or lose the modelling benefit (data-science risk).
The three mistakes we see every week
When a site fails a scan, nine times out of ten it's one of these:
1. The default state is set after gtag.js loads. Order matters. The Consent Mode default must appear in a synchronous <script> earlier in the <head> than anything that loads Google tags. CMPs that inject their config asynchronously blow this ordering.
2. The update call never fires, or fires with the wrong granularity. Some banners set everything to granted when the user accepts "all", regardless of whether the user deselected Marketing. Others only update analytics_storage and forget the ads signals. It's easy to miss because the banner UI still works. Only the data pipeline breaks.
3. Region wildcards mask the denied state. Consent Mode lets you set per-region defaults (e.g. default for EEA-only, granted elsewhere). A common misconfiguration is to set a global granted default, then selectively deny for EEA visitors, which means non-EEA visitors get tracked before any banner interaction, in jurisdictions that also require consent (UK PECR, for instance). The regulator pays attention to this.
How does SmartConsent handle it?
Three decisions flow from the above, and they're the shape of the integration in SmartConsent:
-
The default state is written inline in the SmartConsent script itself, not fetched from a remote config. By the time the first Google tag has a chance to run,
gtag('consent', 'default', {...})has already executed synchronously. -
The update call is wired to every category change, not just accept-all. Deselecting Marketing but accepting Analytics produces the correct
{ ad_storage: 'denied', analytics_storage: 'granted', ad_user_data: 'denied', ad_personalization: 'denied' }signal. No silent full-opt-in. -
Advanced mode is the default, with an opt-out flag if you need basic. Most teams want conversion modelling; the ones who don't are usually regulated sectors who prefer the cleaner audit trail of basic.
How do you verify it's working?
Three checks, in order of effort:
- Google's Tag Assistant Chrome extension shows the Consent Mode state live. Load your page, open the extension, look for the "Consent" panel. It should show all four signals with their current values.
- GA4 DebugView (under Admin → DebugView) will tag events with
gcs=G100(all denied),G111(all granted), or variations. If you see events arriving before a banner interaction withG111, something is setting default togranted. - Our free scanner runs both checks plus a structural pass on your banner (default timing, update wiring, region handling) and surfaces the failures in plain English.
The rest
For the full pipeline (geo-detection, regulation lookup, banner render, Consent Mode signal, script gating), see how SmartConsent works. For side-by-sides on how other CMPs handle v2, see the alternatives hub.
Consent Mode v2 decides whether your analytics team has data to work with at the end of the quarter, so it repays the time you spend getting it right.
Correction, 21 November 2026: an earlier version of this post said SmartConsent sets Google Consent Mode defaults by region. We have removed that point until it is confirmed.