Back to blog
Privacy2026-06-27

Planning cookie consent for analytics

Why Google Analytics should only load after consent and which UX works for that.

Consent first, script later

Non-essential analytics tools only load after active consent. Users who reject tracking must still be able to use the site.

Transparent copy

The banner names the purpose, provider, and links to the privacy policy. Details like measurement ID and retention belong on the legal page.

Ready for your managed Discord bot?

Start with a secure runtime, reviewed addons, and privacy-friendly defaults.

View pricing