> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.manicule.dev/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://mintlify.manicule.dev/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://mintlify.manicule.dev/api/mcp.
> Every agent surface: https://mintlify.manicule.dev/.well-known/llms-manifest.json

# Clarity (/integrations/analytics/clarity)

<!-- agent-signals: reading_time_min: 1 · est_tokens: 165 · updated: 2026-07-31 -->
Related: [Analytics integrations](/integrations/analytics/overview.md), [Adobe Analytics](/integrations/analytics/adobe.md), [Amplitude](/integrations/analytics/amplitude.md), [Clearbit](/integrations/analytics/clearbit.md), [Fathom](/integrations/analytics/fathom.md), [Google Analytics 4](/integrations/analytics/google-analytics.md)

> Integrate Microsoft Clarity with your Mintlify documentation site to capture session recordings, heatmaps, and user interaction analytics.

Add the following to your `docs.json` file to send analytics to Microsoft Clarity.

<CodeGroup>
```json title="Analytics options in docs.json"
"integrations": {
    "clarity": {
        "projectId": "required"
    }
}
```

```json title="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.
