You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: replace Cookiebot with a client-side consent banner (EU-only) (#8783)
* docs: replace Cookiebot with client-side consent (EU-only banner)
Replaces the hosted Cookiebot CMP with the fully client-side npm package
vanilla-cookieconsent and gates the trackers behind consent.
- Show the consent banner only to likely EU/EEA (and UK) visitors, detected
from the browser timezone (request-free, no PII sent). Non-EU visitors keep
the previous behavior where trackers start immediately.
- Add Google Consent Mode v2 defaults (denied, region-scoped to EU/EEA/UK) as
the first head tag so GA4/GTM are gated accurately by Google's server-side
region detection until the visitor consents.
- Gate the non-Consent-Mode trackers (Reddit pixel, Pipedrive) and all
triggerTrackingEvent calls behind the consent decision.
- Remove Cookiebot script/preconnect/CSS remnants and add banner theming.
- Note the consent banner and a "reopen settings" link on the privacy page.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEnuj2ikuRMC56mwKmYqwY
* docs: add required attributes field to Consent Mode head tag
Docusaurus headTags entries require an "attributes" object even for inline
script tags, otherwise config validation fails with
"headTags[0].attributes is required".
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEnuj2ikuRMC56mwKmYqwY
* docs: match cookie consent banner to the dark site theme
The vanilla-cookieconsent default is a light banner, which looked too bright
against the dark RxDB docs theme. Fully theme the banner with the site dark
palette and brand color, mapped through the existing CSS variables. Uses the
"html #cc-main" selector so the overrides win the cascade over the library
stylesheet, which is injected at runtime after custom.css.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEnuj2ikuRMC56mwKmYqwY
* docs: shorten cookie consent banner description
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEnuj2ikuRMC56mwKmYqwY
* docs: use requested cookie consent banner wording
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEnuj2ikuRMC56mwKmYqwY
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments