Consent & compliance

Blocking trackers

How CookieTrue holds back scripts, iframes and cookies until a visitor agrees, and what to do with a service it does not know.

A banner on its own protects nobody. The law asks that optional trackers do not run until the visitor agrees. CookieTrue does this for you.

#What is blocked automatically

CookieTrue knows hundreds of common services and which category each belongs to: Google Analytics, Google Ads, Meta Pixel, TikTok, Hotjar, Clarity, YouTube embeds and many more. When your page loads:

  1. The CookieTrue script runs first, because you placed it at the top of the head.
  2. Scripts and embedded frames of known services are held back.
  3. When the visitor agrees to a category, the matching services are released.
  4. If they refuse, those services never run.

Necessary cookies, such as a shopping cart or login session, are never blocked.

#Services CookieTrue does not know

For a script or embed that is not on our list, mark it yourself. See Manual tagging. The scanner tells you which cookies still appear, so you can find the ones that need marking.

#Google tags

Google's own tags are not blocked. They load and obey Google Consent Mode, which keeps them from storing identifiers until consent. See Google Consent Mode.

#Categories

CategoryTypical useNeeds consent
NecessaryLogin, cart, security, remembering the choiceNo
PreferencesLanguage, layout, saved settingsYes
AnalyticsCounting visits, measuring pagesYes
MarketingAds, retargeting, social pixelsYes

#Choosing what to block

Under Blocking you decide how strict CookieTrue is. The default holds back every optional tracker in consent-first regions. In opt-out regions trackers run until a visitor opts out. See Rules by region.

Still stuck? Write to [email protected]. A person answers, usually the same day.