Consent and opt-outs
Plaintrace sets no cookies and stores no identifiers, so it is built to run without a consent banner. If your site asks for consent anyway, or you want to honour browser signals, these switches are there.
px('consent', 'granted') // or 'denied' or 'unknown'| Need | How |
|---|---|
| Measure nothing until consent | data-require-consent then px('consent', 'granted') |
| Honour Global Privacy Control | data-respect-gpc |
| Honour Do Not Track | data-respect-dnt |
| Keep even the consent answer out of storage | data-storage="none" |
| Never measure some pages | data-exclude-paths="/admin*,/account" |
| Stop counting your own browser | open any page with #px-ignore (#px-unignore to undo) |
The browser keeps at most two things: the visitor’s consent answer and your own opt-out.