Files
mintlify__docs/zh/integrations/analytics/mixpanel.mdx
locadex-agent[bot] 6779b51e1b docs(locadex): update translations (#1841)
Co-authored-by: locadex-agent[bot] <217277504+locadex-agent[bot]@users.noreply.github.com>
2025-11-21 23:40:36 +00:00

32 lines
918 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Mixpanel"
description: "使用 Mixpanel 跟踪产品分析和用户行为。"
keywords: ["Mixpanel 集成", "产品分析", "事件跟踪", "token"]
---
在你的 `docs.json` 文件中添加以下配置,将分析数据发送到 Mixpanel。
```json Analytics options in docs.json
"integrations": {
"mixpanel": {
"projectToken": "YOUR_MIXPANEL_PROJECT_TOKEN"
}
}
```
将 `YOUR_MIXPANEL_PROJECT_TOKEN` 替换为你的 Mixpanel 项目 token。你可以在 [Mixpanel 项目设置](https://mixpanel.com/settings/project) 中找到该值。
<div id="tracked-events">
## 跟踪的事件
</div>
Mintlify 会自动跟踪以下用户交互:
- 页面访问
- 搜索查询
- 反馈提交
- 上下文菜单交互
- 导航点击
如果你在 Mixpanel 中看不到事件,请确认你的项目 token 是否正确,并检查是否有内容安全策略(CSP)阻止 Mixpanel 脚本运行。