Skip to content

Privacy

Trackers run before consentruntime.trackers-before-consent

In a fresh browser with no click at all, analytics or ad trackers load or set cookies (GDPR/ePrivacy, India DPDP).

  • In force Rule runtime.trackers-before-consent
  • 3 clauses

At a glance

runtime.trackers-before-consent
Severityhigh
CertaintyObserved — the code as written is the problem
Looks atyour running app, in a real browser
When it runsRuns with --runtime, against your app on localhost

How to fix it

Initialise trackers only from your consent callback.

Check your own app

Run npx scanlyfix scan --runtime in your project. Every finding gets an id; after fixing, npx scanlyfix verify <id> proves it is gone.

If it is a false positive in your project, silence that one line with // scanlyfix-ignore-next-line runtime.trackers-before-consent -- <why>.

All rules

Your code stays
on your machine

Only findings are uploaded, and only to your own dashboard.