CriticalChecked on every planEU · UK

Trackers fire before consent

Can my website load Google Analytics or Meta Pixel before the visitor consents?

Short answer

Not in the EU: analytics and advertising scripts that load, or set cookies, the moment a visitor lands need prior consent. In the UK, advertising needs consent too, but since February 2026 analytics may run first if visitors are told and can object. Block trackers until the visitor says yes.

41%of 168 European shops did this (69)
29shops loaded Google Ads / DoubleClick first
No. 1most common critical problem in the study

Why it matters

In the EU, non-essential cookies and trackers need prior consent. In the UK, advertising and cross-site tracking do too; only analytics may run first, under conditions (reported separately for UK sites). Loading trackers first is the most common reason regulators fine cookie banners, and it is trivial for them to prove from a browser.

What we show you when we find it

TimeTrackerProof
3.3sMicrosoft Claritya.clarity.ms/collect
3.3sGoogle Analyticsregion1.analytics.google.com/g/collect
3.3sGoogle Ads / DoubleClickstats.g.doubleclick.net/g/collect
3.3sGoogle Adsgoogleadservices.com/pagead/conversion/000000000/
3.3sGoogle Ads conversiongoogle.com/ccm/collect

Every row opens the exact request, the cookie and a screenshot of the page at that moment. Example from an anonymised scan. See the full sample report.

How to fix it

  1. Block analytics and ad tags until consent is given. Use your consent tool’s auto-blocking, or Google Consent Mode v2 with default “denied”.
  2. In Google Tag Manager, fire marketing tags on a consent trigger instead of “All Pages”.
  3. Move hard-coded pixels (Meta, TikTok, LinkedIn) into the consent-gated tag manager.
  4. Re-scan to confirm nothing loads before the banner is answered.
Steps for OneTrust
  1. Mark each tracking tag with its OneTrust category (snippet below).
  2. Using Google tags? Turn on Google Consent Mode in your template.
  3. Load the OneTrust script first in your page head.
OneTrust docs, checked October 2026
Steps for Cookiebot
  1. In Cookiebot Manager, open Settings, then Your scripts.
  2. Switch to Automatic blocking and copy the new script.
  3. Paste it as the very first script on every page.
  4. Using Google tags? Turn on Consent Mode in the Cookiebot tag, with defaults set to denied.
Cookiebot docs, checked October 2026
Steps for Usercentrics
  1. Open Configuration, then CMP Settings, and turn on Google Consent Mode.
  2. Add the default-denied script below, high in your page head.
  3. Add other tags as services in Usercentrics, or through its GTM template, so they wait.
Usercentrics docs, checked October 2026
Steps for Didomi
  1. Open Consent notices, edit your notice, then step 2 Customization.
  2. Open Integrations, then the Consent Modes tab.
  3. Turn on Google Consent Mode V2 and tick the Google vendors you use.
  4. Leave the “Set the default status” options off, so everything starts denied.
Didomi docs, checked October 2026
Steps for CookieYes
  1. Open Advanced Settings and turn on “Support GCM”.
  2. Keep “Allow Google tags to fire before consent” off.
  3. Put the CookieYes script first in your page head, before other tags.
  4. Press “Check GCM status” to test.
CookieYes docs, checked October 2026

The law behind this rule

Real case, anonymised

“Reject All” on OneTrust, and four trackers kept going

A banner from a big consent tool doesn’t mean the tags listen to it.
Read the case