Files
mintlify__docs/zh/integrations/privacy/overview.mdx
locadex-agent[bot] c1171a757b docs(locadex): add translations (#3196)
Co-authored-by: locadex-agent[bot] <217277504+locadex-agent[bot]@users.noreply.github.com>
2026-02-06 14:13:05 -08:00

41 lines
1.7 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "隐私集成"
description: "与数据隐私平台集成以实现合规。"
keywords: ["数据隐私平台", "合规集成", "隐私工具", "Cookie 同意"]
---
<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>
使用 [Osano](https://www.osano.com/) 管理 Cookie 同意。
</Card>
<div id="cookie-consent-and-disabling-telemetry">
## Cookie 同意与禁用遥测/使用数据
</div>
如需检查用户是否已为符合 GDPR 要求而同意使用 Cookie,你可以在 `cookies` 下指定一个本地存储中的 key 和值:
```json
"integrations": {
"cookies": {
"key": "LOCAL STORAGE KEY",
"value": "LOCAL STORAGE VALUE"
}
}
```
如果设置了这些值,你的站点会检查本地存储中指定的 key 和值,以确定用户是否已同意使用 Cookie。若用户未同意,你的站点将为该用户禁用遥测/使用数据。
如果你希望为所有用户禁用遥测/使用数据,请在你的 `docs.json` 文件中添加以下内容:
```json
"integrations": {
"telemetry": {
"enabled": false
}
}
```
<Note>
如果禁用遥测/使用数据,即使在控制台中开启了反馈,也无法在文档页面收集反馈。
</Note>