Skip to main content
Mintlify

Search documentation

Type to search this documentation.

On this pageOverview

Clarity

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.

Analytics
"integrations": {
    "clarity": {
        "projectId": "required"
    }
}
Example
"integrations": {
    "clarity": {
        "projectId": "abc123xyz"
    }
}
  1. Create a Clarity account.
  2. Click Get tracking code.
  3. Copy your project ID from the tracking code.
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu