Files
mintlify__docs/zh/integrations/analytics/plausible.mdx
mintlify[bot] 5a3d1ddabb docs: sync es/fr/zh translations with recent English updates (#6140)
* docs: sync es/fr/zh translations with recent English updates

* docs: tighten descriptions and replace HTML entities with real quotes

---------

Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
2026-06-10 11:49:25 -07:00

43 lines
1.2 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: "Plausible"
description: "将 Plausible Analytics 集成到你的 Mintlify 文档,实现轻量级、尊重隐私的访客跟踪,无需 Cookie 或同意横幅。"
keywords: ["Plausible Analytics", "privacy-respecting analytics", "self-hosted analytics", "domain configuration"]
boost: 3
---
在 `docs.json` 中添加你站点的 domain,以将 Analytics 发送至 Plausible。
<Info>
为 domain 或服务器填写时不要包含 `https://`。
</Info>
<CodeGroup>
```json docs.json 中的 Analytics 选项
"integrations": {
"plausible": {
"domain": "your-documentation-domain",
"server": "optional - your self-hosted Plausible server hostname"
}
}
```
```json 示例
"integrations": {
"plausible": {
"domain": "docs.domain.com"
}
}
```
</CodeGroup>
### 配置选项
<ParamField path="domain" type="string" required>
你的文档站点的 domain。例如 `docs.example.com`。请不要包含 `https://`。
</ParamField>
<ParamField path="server" type="string">
你自托管 Plausible 实例的主机名。例如 `plausible.example.com`。仅在你自托管 Plausible 时需要。省略此字段将使用 `plausible.io`。请不要包含 `https://`。
</ParamField>