Skip to content

What is Consent Mode?

Consent Mode is Google's API for passing a visitor's consent choice to Google tags (GA4, Google Ads, Floodlight). Version 2 has four signals: ad_storage, analytics_storage, ad_user_data and ad_personalization. Each is granted or denied, set by default before any tag runs and updated when the visitor makes a choice.

Definition

Your site, usually through a consent platform, calls gtag('consent', 'default', ...) before any Google tag loads, then gtag('consent', 'update', ...) after the visitor accepts or rejects. Google tags read the state and adjust: with ad_storage denied they do not read or write advertising cookies, with ad_user_data denied they do not send user data for advertising. In basic mode Google tags wait for consent before loading. In advanced mode they load immediately and send cookieless pings with the denied state, which Google uses for conversion modelling. Every Google request carries the state in two parameters: gcs (for example G100 means ad and analytics storage denied, G111 both granted) and gcd, which encodes all four v2 signals with their default and update. Consent Mode is read only by Google tags; Meta, TikTok and other pixels must be held back by your consent platform or tag manager.

Why it matters

Since March 2024 Google requires the two v2 signals for advertisers who want to use data from visitors in the European Economic Area for measurement, remarketing and audiences. A banner that sets only the original two signals, sets the default too late, or never sends the update quietly limits what Google Ads can measure and optimise. The reverse problem is just as common: tags installed outside the tag manager fire before the visitor decides or keep firing after Reject, because they never read the consent state at all.

Check it on your site

Our free Consent Mode v2 checker loads your store in a real browser, records what is sent before anyone touches the banner and after a click on Reject, and decodes gcs and gcd on every Google request. It is a technical check, not legal advice.

Run the Consent Mode v2 checker

Frequently asked questions

What is the difference between Consent Mode v1 and v2?

Version 1 had two signals, ad_storage and analytics_storage. Version 2 adds ad_user_data (may user data be sent to Google for advertising) and ad_personalization (may it be used for personalised ads such as remarketing). You can tell which one a site runs from the gcd parameter: the letter l in the third or fourth position means the v2 signal is not set.

What does gcs=G100 mean?

gcs starts with G1, followed by one digit for ad_storage and one for analytics_storage, where 1 means granted and 0 means denied. G100 means both are denied, G111 both granted, G110 ads granted and analytics denied.

Does Consent Mode control the Meta pixel?

No. Only Google tags read Consent Mode. The Meta pixel, TikTok pixel and other vendors must be blocked or allowed by your consent platform or by consent conditions in your tag manager.

Should I use basic or advanced Consent Mode?

Basic mode sends nothing to Google before consent. Advanced mode sends cookieless pings with the denied state, which lets Google model conversions from visitors who decline. Which one fits depends on your legal assessment; both are valid technical setups, and they produce different results when you test them.

Ready to track conversions
accurately?

Join e-commerce teams who stopped guessing and started measuring. Free plan, no credit card, setup in minutes.

10,000 free visits/month · All 9 ad platforms · Full dashboard