generated from mintlify/starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
platformMintlify config, deployment, GitHub appMintlify config, deployment, GitHub apppriority: mediumImportant but not blockingImportant but not blocking
Milestone
Description
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
- Inspect what exact localStorage key and value Termly writes on
analytics consent (Termly stores JSON — confirm the key/value
Mintlify'scookiesconfig should match against) - Add Termly script to docs.kosli.com (either same property UUID or a
new sub-property under the same Termly org) - Configure Termly's cross-domain consent sync so users who consented
on kosli.com don't see a second banner on docs.kosli.com
(via the existingconsent-sync.htmlmechanism) - Wire up Mintlify's
cookiesconfig indocs.jsononce the key/value is confirmed - Ensure Mixpanel tracking (feat: integrate Mintlify with Mixpanel analytics #65) only fires after consent is given
- Test: accept on kosli.com → verify no banner on docs.kosli.com
- Test: banner dismissal persists across sessions
References
- Mintlify privacy integrations: https://www.mintlify.com/docs/integrations/privacy/overview
- Termly script in www repo:
layouts/partials/head.html - Termly consent sync:
static/consent-sync.html - Related: feat: integrate Mintlify with Mixpanel analytics #65 (Mixpanel integration)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
platformMintlify config, deployment, GitHub appMintlify config, deployment, GitHub apppriority: mediumImportant but not blockingImportant but not blocking