Skip to main content

Blog

What is Consent Mode for GA4?

Daniel Perry-Reed16 June 20226 min read

Updated October 2026 for Consent Mode v2.

Consent Mode is a feature that helps manage what tracking occurs when consent is and is not granted from the user. This feature applies for websites via Google’s global site tag (gtag.js) and Google Tag Manager (GTM), and for apps via the Firebase SDK.

There are five default types of consent (you can add your own on top as well) that can be managed in Consent Mode:

Consent TypeDescription
ad_storageEnables storage (such as cookies) related to advertising
analytics_storageEnables storage (such as cookies) related to analytics e.g. visit duration
functionality_storageEnables storage that supports the functionality of the website or app e.g. language settings
personalization_storageEnables storage related to personalization e.g. video recommendations
security_storageEnables storage related to security such as authentication functionality, fraud prevention, and other user protection

Consent Mode v2, introduced in November 2023, added two more: ad_user_data, which says whether user data can be sent to Google for advertising, and ad_personalization, which says whether it can be used for personalised ads. For users in the European Economic Area, Google has required both since March 2024 for its advertising measurement and personalisation features.

Consent Mode is not a consent management platform (CMP). That is, it doesn’t collect user consent on a website or app. Consent Mode is only the process of managing tracking based on the collected consent levels. You will need to implement a CMP to do the actual consent collection.

GTM has some out-of-the-box CMP integrations via templates that can be used with relative ease. However, you do not need to use one of these to use Consent Mode effectively. For example, the Measurelab website www.measurelab.co.uk uses CIVIC’s Cookie Control which is not on the list and it works absolutely fine with Consent Mode.

There are two ways to implement it. In basic mode, Google tags don’t load until someone has made a choice on the consent banner, so nothing reaches Google before then. In advanced mode, the tags load straight away and, while consent is denied, send cookieless pings without cookies or identifiers, which Google uses for modelling. Advanced mode recovers more measurement but sends some data before consent, so which one suits you is a decision for your privacy team.

Generally speaking, each tracking tag will have some sort of consent dependency. For example, you will need ad_storage to be true to be able to fire the Facebook Pixel. However, Consent Mode works slightly differently when it comes to the Google tags (Google Analytics, Google Ads, Floodlights).

In advanced mode, GA4 sends all the events with or without consent. There are a few variations of consent as GA4 utilises both the analytics_storage (for the core tracking) and ad_storage (for Google Signals) consent. Depending on what the user consents to, depends on what is collected in GA4. The below table details what happens in each situation:

analytics_storagead_storageGA4 tracking
truetrueThe 1P _ga cookie is set and read.
All events are tracked including a Client ID and Session ID.
Google Signals data is collected.
truefalseThe 1P _ga cookie is set and read.
All events are tracked including a Client ID and Session ID.
Google Signals data is not collected.
falsetrueThe 1P _ga cookie is not set or read.
All events are tracked without a Client ID or Session ID.
Google Signals data is collected.
falsefalseThe 1P _ga cookie is not set or read.
All events are tracked without a Client ID or Session ID.
Google Signals data is not collected.

GA4 data modelling

The reason GA4 still tracks all events even without consent in advanced mode (called 'cookieless pings') is so that it can use machine learning models to estimate the number of unconsented users, sessions, etc. in the data. This process is called behavioural modelling for Consent Mode and is available for all GA4 properties now.

Assuming you have met the prerequisites in data volume, then you will be able to use the ‘Blended’ reporting identity in GA4, which is set under Admin > Reporting Identity.

Need to connect your data?

Join marketing, customer and product data with tested models and documentation your team can use. Start with the sources needed for your question.

Ga4 reporting identities

You will then see the modelled data in all available reports when using GA4. You can see if any specific report is using modelled data by clicking on the report status icon:

GA4 modelled data in reports

Opting out of cookieless pings (GTM)

Some companies might not agree with Google’s cookieless pings and want to prevent them from happening altogether. In a sense, make sure that no consent means no track of any sort.

In GTM this is relatively simple to do. First you may have to enable the consent overview in Admin > Container Settings > Additional Settings:

GTM container setting for consent overview

Then you should see a new ‘Consent Settings’ section under the ‘Advanced Settings’ in any tag configuration.

In there, for the GA4 tags you have, you can select ‘Require additional consent for tag to fire’ and specify the consent type you want to ensure you have. For GA4, this is most likely to be the analytics_storage consent.

GTM tag consent settings with additional consent set

Once saved and published, all the GA4 tags will now behave the same as the non-Google tags in that nothing will be tracked until you have the user’s consent. In effect, this is basic mode.

Note: By doing this, you will never be able to use the behavioural modelling in GA4!

If you advertise with Google to users in the EEA, in practice yes: Google needs the v2 signals for its measurement and personalisation features there. Elsewhere it isn’t required, but it will save you all the time and effort of manually triggering tracking based on consent statuses from your CMP.

In GTM, you can manage variables and triggers for each consent type by creating trigger groups to include consent and dynamically fire each tag. However, Consent Mode makes all of this much easier, and you can manage, change and update consent requirement in bulk without the need of trigger groups!

If you are using a CMP (and who isn’t nowadays), then Consent Mode is a valuable tool and asset to making sure it is ‘plumbed in’ effectively to all your marketing and analytics tracking and data collection.

If you want to know what your consent setup actually does in each consent state, that’s what a Consent Mode audit checks. The Free Collection & Consent check gives a quick first look.

Need to connect your data?

Join marketing, customer and product data with tested models and documentation your team can use. Start with the sources needed for your question.

Have a question or project in mind?

Bring data to connect, a question to investigate or something to fix or build. We can agree a focused scope directly.

Suggested content

Blog

How to make an AI agent accurate in BigQuery

A year ago, I wrote about getting a BigQuery warehouse ready for AI ( Easy ways to prepare your BigQuery warehouse for AI) , but didn't look properly into Knowledge Catalog (known as Dataplex at the time). We decided to go back and look through Google's Knowledge Catalog properly: what's actually in there, how it works and what it relates to. What Knowledge Catalog is Knowledge Catalog is Google's metadata layer for BigQuery data (and a few other sources). It sits alongside your tables rather

Katie Kaczmarek15 Sept 2026

Blog

What's actually in Google's Knowledge Catalog

Google's Knowledge Catalog has been renamed four times. Data Catalog, then Dataplex Catalog, then BigQuery universal catalog, then Dataplex Universal Catalog, and now Knowledge Catalog, as of 10 April 2026. The API, gcloud and IAM roles still all say "dataplex". If you land on a page that mentions Dataplex and wonder whether you're reading something out of date, you're probably not. That's just the product's fifth name in four years. I spent some time looking through the different sections of K

Katie Kaczmarek15 Sept 2026