This guide gives an overview; it does not replace legal advice suited to your situation.
What is Consent Mode?
Consent Mode is a standard way, defined by Google, to pass the visitor’s choice to its tags: Google Analytics, Google Ads, Floodlight. Your banner no longer just blocks or allows: it sends signals, and Google tags adapt their behaviour.
Google made version 2 mandatory in March 2024 for visitors from the European Economic Area, following the EU Digital Markets Act (DMA). Without it, personalised advertising and remarketing features stop working for those visitors.
The four signals
| Signal | What it allows | New in v2 |
|---|---|---|
analytics_storage | Analytics cookies (Google Analytics) | No |
ad_storage | Advertising cookies (Google Ads) | No |
ad_user_data | Sending user data to Google for advertising | Yes |
ad_personalization | Personalised advertising and remarketing | Yes |
Each signal is granted or denied. Before any answer, everything must be denied.
Basic or advanced mode?
Basic mode: Google tags do not load at all until the visitor accepts. If they reject, Google receives nothing. Google then fills the gaps in its statistics with modelling, based on the visitors who accepted.
Advanced mode: tags load on arrival, even before the choice. If the visitor rejects, they set no cookie but send cookieless signals (“pings”) to Google, which uses them to refine its modelling.
Our advice for a site in Europe: basic mode. A cookieless ping is still data sent to Google without the visitor’s agreement, and the principle set by European regulators is that nothing non-essential leaves before consent. Advanced mode adds a little statistical precision; basic mode leaves nothing to argue about.
Checking that it works
- Open your site in a private window and open the browser developer tools.
- In the console, type
dataLayer: you should see aconsentdefaultcommand with the four signals set todenied, before any Google tag. - Accept analytics: a
consentupdatecommand should switchanalytics_storagetogranted. - In Google Tag Manager, Preview mode shows the consent state at every event.
With Optooki
Optooki sends the four signals natively, with no setup: everything denied by default, before your tags, then the update when the visitor chooses, on every page. Automatic blocking holds Google tags until consent, which amounts to basic mode. If you load your tags through Google Tag Manager, the Optooki template from the template gallery sets the signals for you. See the Google Tag Manager guide and the dedicated page.