> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify-docs-automation-github-pr-review.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Plausible

> 将 Plausible Analytics 集成到你的 Mintlify 文档，实现轻量级、尊重隐私的访客跟踪，无需 Cookie 或同意横幅。

在 `docs.json` 中添加你站点的 domain，以将 Analytics 发送至 Plausible。

<Info>
  为 domain 或服务器填写时不要包含 `https://`。
</Info>

<CodeGroup>
  ```json docs.json 中的 Analytics 选项 theme={null}
  "integrations": {
      "plausible": {
          "domain": "your-documentation-domain",
          "server": "optional - your self-hosted Plausible server hostname"
      }
  }
  ```

  ```json 示例 theme={null}
  "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>
