mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
4c31f3683c
* ai/ keywords * api/ keywords * components/ keywords * create/ keywords * customize/ keywords * api-playground/ keywords * dashboard/ keywords * deploy/ keywords * guides/ keywords * insights/ keywords * integrations/ keywords * optimize/ keywords * organize/ keywords * root/ keywords * rm temp files
34 lines
679 B
Plaintext
34 lines
679 B
Plaintext
---
|
|
title: "Clarity"
|
|
description: "Track user sessions with Microsoft Clarity 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.
|