Skip to content

Privacy

Trackers still run after Declineruntime.trackers-after-decline

After the visitor presses your banner's decline button, trackers still load or set cookies.

  • In force Rule runtime.trackers-after-decline
  • 3 clauses

At a glance

runtime.trackers-after-decline
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

Check the stored choice before every tracker init; load trackers only on accept.

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-after-decline -- <why>.

All rules

Your code stays
on your machine

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