Skip to main content
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:
  "integrations": {
    "cookies": {
      "key": "LOCAL STORAGE KEY",
      "value": "LOCAL STORAGE VALUE"
    }
  }
If these values are set, 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
    }
  }
If you disable telemetry, you cannot collect feedback on your documentation pages, even if you enable feedback in your dashboard.