Cookie consent and analytics
An optional consent banner, and analytics that only load after consent.
What it does
When a project turns it on, a cookie banner lets visitors accept or refuse categories such as analytics and marketing before anything non-essential loads, and reopen their choice from the footer. Settings → Analytics takes a Google Tag Manager container id or a GA4 measurement id: only the id is stored, never a pasted script, and the tag loads after consent, following Google Consent Mode.
See it in the demo
The banner only shows when the project chooses it (cookieConsent() in project.config.ts) and a script needs consent, so it may not appear on this site. Its texts are edited in the admin under Cookie banner, in every language, and raising the policy version asks every visitor again. Admins can read the Consent log: the consent id, date, choices and policy version, with no IP address.
For developers
Scripts that need consent are registered in code (src/lib/consentScripts.ts, or the project’s own in project.config.ts), never pasted into a block. See ADR 0043, the README of the @omitsis/apex-plugin-cookie-consent package and the README sections "Cookie consent" and "Analytics: GTM and GA4".
One block, every feature page
This strip is a reusable block: written once and placed at the end of every feature page. Edit it under Reusable blocks and all of them change.