> ## Documentation Index
> Fetch the complete documentation index at: https://www.mintlify.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Segment

> 将 Segment 集成到你的 Mintlify 文档，将分析事件路由到数据仓库、CRM 和营销平台等下游工具。

将你的 Segment write key 添加到 `docs.json` 文件，以将分析数据发送到 Segment。

<CodeGroup>
  ```json docs.json 中的 Analytics 选项 theme={null}
  "integrations": {
      "segment": {
          "key": "required",
      }
  }
  ```

  ```json 示例 theme={null}
  "integrations": {
      "segment": {
          "key": "nqJxiRG15Y6M594P8Sb8ESEciU3VC2"
      }
  }
  ```
</CodeGroup>


## Related topics

- [集成](/zh/organize/settings-integrations.md)
- [Analytics 集成](/zh/integrations/analytics/overview.md)
- [docs.json schema 参考](/zh/organize/settings-reference.md)
