Cookie banner
Tell visitors you use cookies, or ask before tracking them, only where the law expects it if you like. With Ask first, analytics, A/B tests and your custom code wait for a yes.
Updated · 2 min read
Admin → Site settings → Cookie banner chooses what visitors are told about cookies. The banner sits in the corner of every page of your site, in the site's own type and buttons, and never covers what they came to read.
Choose a mode
- Off: no banner. Analytics, A/B tests and custom code run for everyone. This is how a new site starts.
- Notice: tells visitors you use cookies, with an OK button. Everything runs from the start.
- Ask first: asks before anything is tracked, with Accept and Decline buttons of the same size, so saying no is as easy as saying yes. Until the visitor accepts:
- no analytics events are sent or stored, and PostHog isn't loaded;
- no visitor cookie is set, so the visitor isn't counted in A/B tests and sees each test's original;
- the site's and the page's custom code doesn't run. It runs the moment they accept, without a reload;
- maps and HTML embeds show a placeholder with their own button, and a YouTube video shows a plain poster until it's played.
The server holds back the visitor cookie too, so this holds even if something on the page tries to send events itself.
Only where the law expects it
Tick Only where the law expects it to show the banner to visitors in the EU, the EEA, the UK and Switzerland, and not to anyone else. This needs the visitor's country, from the header your host adds: name it under Countries on the same screen. A visitor whose country isn't known is asked, so without a header everyone is.
The words and the policy link
Banner text replaces the default wording, up to 300 characters. Leave it empty to keep the default for the mode. Cookie policy adds a link at the end of the text: a page on your site such as /privacy, or an https:// address. The card shows a preview of the banner as you type.
Let visitors change their mind
A visitor's answer is kept for 180 days. Add a link to #cookie-settings anywhere on your site, a "Cookie settings" link in the footer for example, and clicking it opens the banner again with their current answer. Declining after accepting also forgets their visitor cookie.
Good to know
- The app's own screens (sign-up, the dashboard) follow the same answer. Account events the server records itself, such as a sign-up or a sign-in, are about the account rather than the visitor, so they're kept either way.
- Clicking OK on a notice isn't a yes. If you switch from Notice to Ask first, those visitors are asked. A visitor who declined stays declined if you switch back to Notice.
- Meta's pixel and events need a yes, so they run only with Ask first, for visitors who accept (and, with Only where the law expects it, for visitors who aren't asked). With the banner off or a notice, nothing goes to Meta.
- Signing up through an affiliate's link still credits the affiliate: that's part of the programme's terms, not analytics.
- Page speed samples (Admin → Speed) send only the address and the timings, with no visitor cookie until a yes, so they're collected either way.
- The cookies behind free reads and Free with your email on members-only pages aren't held back: they make those features work and aren't used for analytics or tests.
- Changing the banner is recorded in the audit log.
Something unclear or missing? Ask us and we'll answer, then fix the page.



