> ## 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.

# Heap

> 将 Heap 分析集成到 Mintlify 文档站点，自动捕获用户交互和事件，进行行为分析。

在你的 `docs.json` 文件中添加以下配置，将 Analytics 数据发送到 Heap。

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

  ```json 示例 theme={null}
  "integrations": {
      "heap": {
          "appId": "1234567890"
      }
  }
  ```
</CodeGroup>

将 `1234567890` 替换为你的 Heap app ID。你可以在 [Heap 账户设置](https://heapanalytics.com/app/settings) 中找到它。


## Related topics

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