Files
skeptrune 9200586a3a Boost search ranking for single-word title pages (#5670)
* docs: boost search ranking for single-word title pages

Apply `boost: 3` to English pages whose H1 / frontmatter title is a single word (e.g. "Assistant", "Quickstart", "Cards"). Short titles tend to be canonical landing pages for a topic, so users searching the exact term should land on them first.

* docs: drop boost on websocket-playground stub to keep canonical Playground ranking

`api-playground/websocket-playground.mdx` is an auto-generated AsyncAPI stub with no body content but shares the title "Playground" with `api-playground/overview.mdx`. Boosting both equally diluted the canonical overview page in search for the query "playground". Drop the boost on the stub.
2026-05-05 10:30:58 -07:00

31 lines
992 B
Plaintext

---
title: "Mixpanel"
description: "Integrate Mixpanel with your Mintlify documentation site to track product analytics, user behavior funnels, and content engagement events."
keywords: ["Mixpanel integration", "product analytics", "event tracking", "token"]
boost: 3
---
Add the following to your `docs.json` file to send analytics to Mixpanel.
```json Analytics options in docs.json
"integrations": {
"mixpanel": {
"projectToken": "YOUR_MIXPANEL_PROJECT_TOKEN"
}
}
```
Replace `YOUR_MIXPANEL_PROJECT_TOKEN` with your Mixpanel project token. You can find this in your [Mixpanel project settings](https://mixpanel.com/settings/project).
## Tracked events
Mintlify automatically tracks the following user interactions:
- Page views
- Search queries
- Feedback submissions
- Context menu interactions
- Navigation clicks
If you're not seeing events in Mixpanel, ensure your project token is correct and that no content security policies are blocking the Mixpanel script.