Rules guide

What does consent mode change in tracking?.

The defaults, the banner rules and what each choice costs in reports.

The short answer

Consent mode lets the analytics and ad tags respond to the visitor's cookie choice. The banner passes the choice on, and the tags store less when the visitor declines.12 Each choice has a cost in what the reports show, so decide it on purpose.

Starting point
analytics_storagethe parameter that governs analytics cookies1
ad_storagethe parameter that governs advertising cookies1

This page is general information, not legal advice. A lawyer should check it for each market before it is published.

Set the default and the banner

Google's setup sets each consent parameter to denied before the tags load, and the banner then updates the state.2 A default of granted before the choice is the common error.

Flow from a denied default to the banner choice: a reject leaves reports with fewer users and sessions, so each consent change gets noted.
The consent flow in three steps. Sources 1 and 2 set out the default and the update on choice.

See where your website loses revenue.

Get a free Traffic Scan →

The cookie rules that apply

The ICO requires that a visitor can reject non-essential cookies as easily as they accept them, and it bans pre-ticked boxes for non-essential cookies.3 The banner has to meet both rules for consent mode to be valid.

The cookie banner guide sets out the checks.

What each choice costs

With analytics denied, the reports show fewer users and sessions than the real traffic. The gap varies by market and browser. Report the change when you compare periods, so the drop is not read as a fall in sales.1

Server-side tracking

Server-side tagging moves the collection to your own server, but it still needs the visitor's consent where the law requires it. A server does not remove the consent rule.

Checks

  • Default denied: before any tag loads.2
  • Reject works: a rejected choice changes the tags' state.2
  • Change noted: the consent change is written into the reporting notes.1

Discover your website’s 3 biggest gaps for free.

Get a free Traffic Scan →

Frequently asked questions

What is consent mode?
A way for the cookie banner to pass the visitor's choice to Google's tags, which then adjust what they store.
Should the default be granted or denied?
Denied, set before any tag loads. The visitor's choice then updates it.
Does server-side tracking avoid consent?
No. Moving collection to a server does not remove the consent requirement where the law applies.
What do the reports show when a visitor rejects?
The reports show fewer users and sessions than the real traffic. Report the change when you compare periods, so the drop is not read as a fall in sales.
What should the consent checks cover?
Three things: the default is denied before any tag loads, a rejected choice changes the tags' state, and each consent change is written into the reporting notes.

Sources

  1. Google Analytics Help, Consent mode reference: the analytics and ad storage parameters.
  2. Google for Developers, Set up consent mode on websites: the default state and the update on choice.
  3. Information Commissioner's Office, Cookies and similar technologies: the consent rule for non-essential cookies.