Description
Add cookie consent to docs.kosli.com so visitors are informed about analytics
and usage tracking (e.g. Mixpanel), in line with GDPR/ePrivacy requirements.
kosli.com already uses Termly for cookie consent
(UUID: c98bfcd6-2f30-4f3c-b53c-d6dbd9b8c40c), and the www repo already
includes Termly's consent-sync.html for cross-domain consent syncing.
The goal is to reuse this consent on docs.kosli.com so users who have already
accepted on kosli.com don't see a second banner.
Mintlify supports gating analytics on a localStorage value via:
"integrations": {
"cookies": {
"key": "<localStorage key>",
"value": "<expected value>"
}
}
Tasks
References
Description
Add cookie consent to docs.kosli.com so visitors are informed about analytics
and usage tracking (e.g. Mixpanel), in line with GDPR/ePrivacy requirements.
kosli.com already uses Termly for cookie consent
(UUID:
c98bfcd6-2f30-4f3c-b53c-d6dbd9b8c40c), and the www repo alreadyincludes Termly's
consent-sync.htmlfor cross-domain consent syncing.The goal is to reuse this consent on docs.kosli.com so users who have already
accepted on kosli.com don't see a second banner.
Mintlify supports gating analytics on a localStorage value via:
Tasks
analytics consent (Termly stores JSON — confirm the key/value
Mintlify's
cookiesconfig should match against)new sub-property under the same Termly org)
on kosli.com don't see a second banner on docs.kosli.com
(via the existing
consent-sync.htmlmechanism)cookiesconfig indocs.jsononce the key/value is confirmedReferences
layouts/partials/head.htmlstatic/consent-sync.html