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 Type
Description
ad_storage
Enables storage (such as cookies) related to advertising
analytics_storage
Enables storage (such as cookies) related to analytics e.g. visit duration
functionality_storage
Enables storage that supports the functionality of the website or app e.g. language settings
personalization_storage
Enables storage related to personalization e.g. video recommendations
security_storage
Enables 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.
What isn’t Consent Mode?
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.
Basic and advanced 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.
How Consent Mode works with GA4
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_storage
ad_storage
GA4 tracking
true
true
The 1P _ga cookie is set and read. All events are tracked including a Client ID and Session ID. Google Signals data is collected.
true
false
The 1P _ga cookie is set and read. All events are tracked including a Client ID and Session ID. Google Signals data is not collected.
false
true
The 1P _ga cookie is not set or read. All events are tracked without a Client ID or Session ID. Google Signals data is collected.
false
false
The 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.
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:
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:
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.
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!
Do I need to use Consent Mode?
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.