diff --git a/integrations/privacy/overview.mdx b/integrations/privacy/overview.mdx index f70e8d841..04d719b40 100644 --- a/integrations/privacy/overview.mdx +++ b/integrations/privacy/overview.mdx @@ -24,3 +24,28 @@ You can add data privacy platforms onto your docs. Add the `integrations` field ``` If you'd like to request a data privacy platform integration, please let us know in [our community](https://mintlify.com/community). + +## Cookie Consent and Disabling Telemetry + +If you need to check if a user has already consented to cookies for GDPR compliance, you can specify a local storage key and value under `cookies`: + +```json + "integrations": { + "cookies": { + "key": "LOCAL STORAGE KEY", + "value": "LOCAL STORAGE VALUE" + } + } +``` + +If these values are set, local storage will be checked to see if the user has consented to cookies. If they have not, telemetry will be disabled. + +If you'd like to disable telemetry for all users, you can add the following to your `docs.json` file: + +```json + "integrations": { + "telemetry": { + "enabled": false + } + } +```