> ## Documentation Index
> Fetch the complete documentation index at: https://wiki.another-horizon.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# 隐私集成

> 与数据隐私平台集成以实现合规。

<CardGroup>
  <Card title="Osano" href="/zh/integrations/privacy/osano" icon={<svg width="32" height="32" className="h-6 w-6" viewBox="0 0 256 256" fill="none" xmlns="http://www.w3.org/2000/svg"><path fillRule="evenodd" clipRule="evenodd" d="M128 256C198.692 256 256 198.692 256 128C256 57.3076 198.692 0 128 0C57.3076 0 0 57.3076 0 128C0 198.692 57.3076 256 128 256ZM128 192C163.346 192 192 163.346 192 128C192 92.6538 163.346 64 128 64C92.6538 64 64 92.6538 64 128C64 163.346 92.6538 192 128 192Z" fill="#7764FA"/></svg>} horizontal />
</CardGroup>

<div id="enabling-data-privacy-integrations">
  ## 启用数据隐私集成
</div>

你可以在文档站点中集成数据隐私平台。在 `docs.json` 文件中添加 `integrations` 字段，并填入相应的脚本。

```json theme={null}
  "integrations": {
    "osano": "SOURCE"
  }
```

<div id="cookie-consent-and-disabling-telemetry">
  ## Cookie 同意与禁用遥测/使用数据
</div>

如需检查用户是否已为满足 GDPR 合规而同意使用 Cookie，你可以在 `cookies` 下指定一个本地存储的 key 和值：

```json theme={null}
  "integrations": {
    "cookies": {
      "key": "LOCAL STORAGE KEY",
      "value": "LOCAL STORAGE VALUE"
    }
  }
```

如果设置了这些值，系统会检查本地存储以确定用户是否已同意使用 Cookie。若未同意，将禁用遥测/使用数据。

如果你希望为所有用户禁用遥测/使用数据，可以在你的 `docs.json` 文件中添加以下内容：

```json theme={null}
  "integrations": {
    "telemetry": {
      "enabled": false
    }
  }
```

<Note>
  如果禁用遥测/使用数据，即使在控制台中开启了反馈，也无法在文档页面收集反馈。
</Note>
