File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -24,3 +24,28 @@ You can add data privacy platforms onto your docs. Add the `integrations` field
24
24
```
25
25
26
26
If you'd like to request a data privacy platform integration, please let us know in [ our community] ( https://mintlify.com/community ) .
27
+
28
+ ## Cookie Consent and Disabling Telemetry
29
+
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 ` :
31
+
32
+ ``` json
33
+ "integrations" : {
34
+ "cookies" : {
35
+ "key" : " LOCAL STORAGE KEY" ,
36
+ "value" : " LOCAL STORAGE VALUE"
37
+ }
38
+ }
39
+ ```
40
+
41
+ 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.
42
+
43
+ If you'd like to disable telemetry for all users, you can add the following to your ` docs.json ` file:
44
+
45
+ ``` json
46
+ "integrations" : {
47
+ "telemetry" : {
48
+ "enabled" : false
49
+ }
50
+ }
51
+ ```
You can’t perform that action at this time.
0 commit comments