Files
mintlify__docs/integrations/analytics/clarity.mdx
mintlify-development[bot] 49cf2c444c docs: condense quickstart page
2026-05-12 18:17:45 +00:00

35 lines
773 B
Plaintext

---
title: "Clarity"
description: "Integrate Microsoft Clarity with your Mintlify documentation site to capture session recordings, heatmaps, and user interaction analytics."
keywords: ["Microsoft Clarity", "session recording", "heatmaps", "user sessions"]
boost: 3
---
Add the following to your `docs.json` file to send analytics to Microsoft Clarity.
<CodeGroup>
```json Analytics options in docs.json
"integrations": {
"clarity": {
"projectId": "required"
}
}
```
```json Example
"integrations": {
"clarity": {
"projectId": "abc123xyz"
}
}
```
</CodeGroup>
## Get your project ID
1. Create a [Clarity account](https://clarity.microsoft.com/projects).
2. Click **Get tracking code.**
3. Copy your project ID from the tracking code.