Privacy integrations
Connect your Mintlify documentation site to privacy platforms like Osano and Transcend to manage cookie consent, compliance banners, and user preferences.
Cookie consent and disabling telemetry
Section titled “Cookie consent and disabling telemetry”To check whether a user has already consented to cookies for General Data Protection Regulation (GDPR) compliance, specify a local storage key and value under cookies:
"integrations": {
"cookies": {
"key": "LOCAL STORAGE KEY",
"value": "LOCAL STORAGE VALUE"
}
}If you set these values, your site checks local storage for the specified key and value to determine if a user consented to cookies. If a user has not consented to cookies, your site disables telemetry for that user.
If you'd like to disable telemetry for all users, add the following to your docs.json file:
"integrations": {
"telemetry": {
"enabled": false
}
}