mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
f8e015ff62
* Improve SEO metadata: update descriptions to 130-155 chars across 177 pages Generated-By: mintlify-agent * Apply suggestion from @ethanpalm * Apply suggestions from code review Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com> * 💅 --------- Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
34 lines
764 B
Plaintext
34 lines
764 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"]
|
|
---
|
|
|
|
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.
|