Sub topic 2
The Consent Mode v2 Signals and What Each Controls
Prerequisites: You should know that a GA4 property collects data as events, and that cookies are small pieces of data stored in a visitor’s browser. You should also understand that Google Tag Manager or gtag.js can send information to Google tags.
Consent Mode v2 is a protocol for telling Google tags which uses a visitor has allowed. It does not replace your consent banner. Your banner asks for permission, and Consent Mode sends the resulting state to Google.
Consent Mode v2 has four main signals:
| Signal | Controls | Main effect when denied |
|---|---|---|
| `analytics_storage` | Analytics cookies and related storage | GA4 cannot use analytics cookies to recognize the browser |
| `ad_storage` | Advertising cookies and related storage | Google Ads cannot read or write advertising cookies |
| `ad_user_data` | Sending user data to Google for advertising purposes | User-provided data is restricted for ads measurement |
| `ad_personalization` | Personalized advertising, including remarketing | Google cannot use the data for personalized ads |
`analytics_storage`: analytics cookies
The analytics_storage signal controls storage used for analytics. When it is granted, GA4 can use analytics cookies to distinguish a returning browser from a new browser and to connect events into sessions.
When it is denied, Google tags must not read or write analytics cookies. In advanced Consent Mode, a tag can still send a limited, cookieless measurement request. That request can help Google estimate aggregate behavior, but it does not provide the same browser-level information as an allowed analytics cookie.
This signal has the most direct effect on GA4 measurement. It can affect users, sessions, attribution, paths, and conversion counts.
`ad_storage`: advertising cookies
The ad_storage signal controls advertising cookies. When it is granted, Google Ads and related tags may read or write cookies used for ad measurement and campaign interactions.
When it is denied, those tags cannot use advertising cookies. This can reduce the ability to connect an ad click with a later conversion. It also limits persistent advertising identifiers.
ad_storage and analytics_storage are separate. A visitor might allow analytics cookies while refusing advertising cookies. Your implementation must preserve that distinction.
`ad_user_data`: user data for advertising
The ad_user_data signal controls whether user data can be sent to Google for advertising purposes. User data can include information supplied through a business’s own systems, such as a customer identifier or an email address used for enhanced conversions, subject to Google’s policies and required processing.
Granting ad_user_data does not automatically grant permission for personalized advertising. It answers a different question: may permitted user data be used for advertising measurement or related advertising functions?
`ad_personalization`: personalized advertising
The ad_personalization signal controls whether data may be used to personalize ads. When it is granted, eligible data can support features such as remarketing and interest-based advertising.
When it is denied, Google can still use some data for non-personalized measurement where other requirements are met, but it must not use the data to personalize ads. Therefore, denying this signal does not necessarily mean that all advertising measurement stops.
Reading a consent state
Think of the four signals as independent switches rather than one global permission. For example, this state allows analytics but blocks advertising uses:
analytics_storage:grantedad_storage:deniedad_user_data:deniedad_personalization:denied
That visitor can contribute ordinary cookie-based GA4 measurement, but advertising tags cannot use advertising cookies, user data, or personalized advertising.
Exercise
A visitor grants analytics storage but denies ad storage, ad user data, and ad personalization. Which signal allows GA4 to use analytics cookies, and which advertising capability remains blocked?
Show answer
analytics_storage allows GA4 to use analytics cookies. Advertising cookies, advertising use of user data, and personalized advertising remain blocked by the other three denied signals.