mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
844e0f0c14
* Document Heap analytics event tracking support Generated-By: mintlify-agent * alphabetize cards * concision --------- Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
39 lines
1019 B
Plaintext
39 lines
1019 B
Plaintext
---
|
||
title: "Heap"
|
||
description: "使用 Heap 分析功能自动跟踪用户交互和事件,以获得更细致的行为洞察。"
|
||
keywords: ["Heap Analytics", "自动事件跟踪", "Heap app ID", "用户交互跟踪"]
|
||
---
|
||
|
||
在你的 `docs.json` 文件中添加以下配置,将 Analytics 数据发送到 Heap。
|
||
|
||
<CodeGroup>
|
||
```json docs.json 中的 Analytics 选项
|
||
"integrations": {
|
||
"heap": {
|
||
"appId": "required"
|
||
}
|
||
}
|
||
```
|
||
|
||
```json 示例
|
||
"integrations": {
|
||
"heap": {
|
||
"appId": "1234567890"
|
||
}
|
||
}
|
||
```
|
||
</CodeGroup>
|
||
|
||
将 `1234567890` 替换为你的 Heap app ID。你可以在 [Heap 账户设置](https://heapanalytics.com/app/settings) 中找到它。
|
||
|
||
## 跟踪事件
|
||
|
||
Mintlify 会自动跟踪以下用户交互并将其发送到 Heap:
|
||
|
||
- 页面浏览
|
||
- 搜索查询
|
||
- 反馈提交
|
||
- 上下文菜单交互
|
||
- 导航点击
|
||
|
||
查看[跟踪事件完整列表](/zh/integrations/analytics/overview#tracked-events)了解发送到分析提供商的所有事件详情。 |