From 2b0a47a5dcfcad757c4ef3d2beb1a020e7586422 Mon Sep 17 00:00:00 2001 From: Kathryn Isabelle Lawrence Date: Fri, 21 Feb 2025 13:02:17 -0800 Subject: [PATCH 1/7] add snippet for disabling telemetry --- integrations/privacy/overview.mdx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/integrations/privacy/overview.mdx b/integrations/privacy/overview.mdx index f70e8d841..665d73476 100644 --- a/integrations/privacy/overview.mdx +++ b/integrations/privacy/overview.mdx @@ -24,3 +24,17 @@ 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). + +## Disabling Mintlify Data Collection + +Mintlify collects usage data to improve the platform. + +If you'd like to opt out of sending usage data to Mintlify, you can do so by adding the following to your `docs.json` file: + +```json + "integrations": { + "telemetry": { + "enabled": false + } + } +``` From 105b0bb92a04d1ae880e8a2cd969f883fa938a59 Mon Sep 17 00:00:00 2001 From: Kathryn Isabelle Lawrence Date: Fri, 21 Feb 2025 16:38:18 -0800 Subject: [PATCH 2/7] reword and mention cookies explicitly --- integrations/privacy/overview.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integrations/privacy/overview.mdx b/integrations/privacy/overview.mdx index 665d73476..b81adf922 100644 --- a/integrations/privacy/overview.mdx +++ b/integrations/privacy/overview.mdx @@ -27,9 +27,9 @@ If you'd like to request a data privacy platform integration, please let us know ## Disabling Mintlify Data Collection -Mintlify collects usage data to improve the platform. +We collect usage data to improve your experience. -If you'd like to opt out of sending usage data to Mintlify, you can do so by adding the following to your `docs.json` file: +If you'd like to opt out of sending usage data or need to disable the data collection cookie for GDPR compliance, you can do so by adding the following to your `docs.json` file: ```json "integrations": { From c873695dafbedd66622ee0b9d8d18368308b1d15 Mon Sep 17 00:00:00 2001 From: Kathryn Isabelle Lawrence Date: Fri, 21 Feb 2025 16:40:10 -0800 Subject: [PATCH 3/7] explicitly mention Posthog --- integrations/privacy/overview.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/privacy/overview.mdx b/integrations/privacy/overview.mdx index b81adf922..a8e9e3f36 100644 --- a/integrations/privacy/overview.mdx +++ b/integrations/privacy/overview.mdx @@ -27,7 +27,7 @@ If you'd like to request a data privacy platform integration, please let us know ## Disabling Mintlify Data Collection -We collect usage data to improve your experience. +We collect data to improve your experience with Posthog. If you'd like to opt out of sending usage data or need to disable the data collection cookie for GDPR compliance, you can do so by adding the following to your `docs.json` file: From d2f15967892dca3126070f0fbae9da8773aa69bb Mon Sep 17 00:00:00 2001 From: Kathryn Isabelle Lawrence Date: Fri, 21 Feb 2025 16:56:19 -0800 Subject: [PATCH 4/7] remove first line --- integrations/privacy/overview.mdx | 2 -- 1 file changed, 2 deletions(-) diff --git a/integrations/privacy/overview.mdx b/integrations/privacy/overview.mdx index a8e9e3f36..ffa1230ea 100644 --- a/integrations/privacy/overview.mdx +++ b/integrations/privacy/overview.mdx @@ -27,8 +27,6 @@ If you'd like to request a data privacy platform integration, please let us know ## Disabling Mintlify Data Collection -We collect data to improve your experience with Posthog. - If you'd like to opt out of sending usage data or need to disable the data collection cookie for GDPR compliance, you can do so by adding the following to your `docs.json` file: ```json From 0317d8130dd31d0e3e59bc6d0a52b48a50a3a818 Mon Sep 17 00:00:00 2001 From: Kathryn Isabelle Lawrence Date: Fri, 21 Feb 2025 16:57:00 -0800 Subject: [PATCH 5/7] Update integrations/privacy/overview.mdx Co-authored-by: Ricardo Nunez <113212961+ricardonunez-io@users.noreply.github.com> --- integrations/privacy/overview.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/privacy/overview.mdx b/integrations/privacy/overview.mdx index ffa1230ea..a31c90c49 100644 --- a/integrations/privacy/overview.mdx +++ b/integrations/privacy/overview.mdx @@ -27,7 +27,7 @@ If you'd like to request a data privacy platform integration, please let us know ## Disabling Mintlify Data Collection -If you'd like to opt out of sending usage data or need to disable the data collection cookie for GDPR compliance, you can do so by adding the following to your `docs.json` file: +If you'd like to opt out of analytics, or if you need to disable telemetry or cookies for GDPR compliance, you can do so by adding the following to your `docs.json` file: ```json "integrations": { From 444bee1d2962994c388ad1d408397b11001fe15f Mon Sep 17 00:00:00 2001 From: Kathryn Isabelle Lawrence Date: Wed, 26 Feb 2025 10:34:42 -0800 Subject: [PATCH 6/7] add other cookie consent thing --- integrations/privacy/overview.mdx | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/integrations/privacy/overview.mdx b/integrations/privacy/overview.mdx index a31c90c49..a8283e17b 100644 --- a/integrations/privacy/overview.mdx +++ b/integrations/privacy/overview.mdx @@ -27,7 +27,20 @@ If you'd like to request a data privacy platform integration, please let us know ## Disabling Mintlify Data Collection -If you'd like to opt out of analytics, or if you need to disable telemetry or cookies for GDPR compliance, you can do so by adding the following to your `docs.json` file: +If you need to check if a user has already consented to cookies for GDPR compliance, you can add the local storage key and value to check to your `docs.json` file: + +```json + "integrations": { + "cookieConsent": { + "enabledKey": "LOCAL STORAGE KEY", + "enabledValue": "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": { From c9233e9fd3980d3078ee6546baa1c014c443bdfc Mon Sep 17 00:00:00 2001 From: Kathryn Isabelle Lawrence Date: Wed, 26 Feb 2025 14:33:24 -0800 Subject: [PATCH 7/7] update cookies keys --- integrations/privacy/overview.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/integrations/privacy/overview.mdx b/integrations/privacy/overview.mdx index a8283e17b..04d719b40 100644 --- a/integrations/privacy/overview.mdx +++ b/integrations/privacy/overview.mdx @@ -25,15 +25,15 @@ 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). -## Disabling Mintlify Data Collection +## Cookie Consent and Disabling Telemetry -If you need to check if a user has already consented to cookies for GDPR compliance, you can add the local storage key and value to check to your `docs.json` file: +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": { - "cookieConsent": { - "enabledKey": "LOCAL STORAGE KEY", - "enabledValue": "LOCAL STORAGE VALUE" + "cookies": { + "key": "LOCAL STORAGE KEY", + "value": "LOCAL STORAGE VALUE" } } ```