跳转到主要内容
docs.json 中添加你站点的 domain,以将 Analytics 发送至 Plausible。
为 domain 或服务器填写时不要包含 https://
"integrations": {
    "plausible": {
        "domain": "your-documentation-domain",
        "server": "optional - your self-hosted Plausible server hostname"
    }
}

配置选项

domain
string
必填
你的文档站点的 domain。例如 docs.example.com。请不要包含 https://
server
string
你自托管 Plausible 实例的主机名。例如 plausible.example.com。仅在你自托管 Plausible 时需要。省略此字段将使用 plausible.io。请不要包含 https://