AnalyticsHotjar
Analytics

Hotjar

Understand user behavior on your documentation site with Hotjar heatmaps and session recordings.

Hotjar captures heatmaps, session recordings, and user feedback so you can see how readers interact with your documentation pages. Enable the integration to connect your Hotjar account.

Prerequisites

  • A Hotjar account with a site configured

  • Your Hotjar site ID

  • Publishing access to your documentation project

Configure from the Editor

Open Site Config

In the Editor, click Site Config in the top toolbar.

Navigate to Integrations

Select Integrations from the left sidebar.

Enable Hotjar

Select Hotjar and enter your site ID. Optionally update the snippet version if you use a version other than 6.

Publish

Click Publish to deploy the integration to your live site.

Configure via documentation.json

Add the hotjar key under integrations in your documentation.json:

{
  "integrations": {
    "hotjar": {
      "hjid": "1234567",
      "hjsv": "6"
    }
  }
}
PropertyTypeRequiredDescription
hjidstringYesYour Hotjar site ID
hjsvstringNoHotjar snippet version (defaults to 6)

Where to find your site ID

  1. Sign in to Hotjar.

  2. Go to SitesTracking Code.

  3. Copy the site ID from the tracking code snippet (the numeric value in the script).

What's next