Skip to content

Commit c9233e9

Browse files
committed
update cookies keys
1 parent 444bee1 commit c9233e9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

integrations/privacy/overview.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ You can add data privacy platforms onto your docs. Add the `integrations` field
2525

2626
If you'd like to request a data privacy platform integration, please let us know in [our community](https://mintlify.com/community).
2727

28-
## Disabling Mintlify Data Collection
28+
## Cookie Consent and Disabling Telemetry
2929

30-
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:
30+
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`:
3131

3232
```json
3333
"integrations": {
34-
"cookieConsent": {
35-
"enabledKey": "LOCAL STORAGE KEY",
36-
"enabledValue": "LOCAL STORAGE VALUE"
34+
"cookies": {
35+
"key": "LOCAL STORAGE KEY",
36+
"value": "LOCAL STORAGE VALUE"
3737
}
3838
}
3939
```

0 commit comments

Comments
 (0)