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

SignalWhat it allowsNew in v2
analytics_storageAnalytics cookies (Google Analytics)No
ad_storageAdvertising cookies (Google Ads)No
ad_user_dataSending user data to Google for advertisingYes
ad_personalizationPersonalised advertising and remarketingYes

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

  1. Open your site in a private window and open the browser developer tools.
  2. In the console, type dataLayer: you should see a consent default command with the four signals set to denied, before any Google tag.
  3. Accept analytics: a consent update command should switch analytics_storage to granted.
  4. 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.

Frequently asked questions

Does Consent Mode replace the banner?
No. Consent Mode passes the choice on; the banner collects it. You need a compliant one for the signals to mean anything.
What happens without Consent Mode v2?
For European visitors, Google Ads can no longer do remarketing or personalised advertising, and conversions are measured less accurately.
Does Consent Mode apply to Matomo or Meta?
No, it is a Google mechanism. Other tools are simply blocked by the banner until consent.

Your cookie banner, ready before your next coffee.

Create your account, customise the banner and add one line of code. Free for one site, no credit card required.