Hotjar

API keyAnalyticsOrg connection

Org-level connection

Hotjar is connected once at the org level by an admin. The credential is shared across all groups that have been granted access — individual team members don't need to connect their own accounts.

Getting your API key

In Hotjar, go to Settings → Sites & Organizations → API Tokens

Click "Create new token", give it a name, and copy the token — it's shown only once

Find your Site ID in the Hotjar URL after selecting your site (e.g. insights.hotjar.com/sites/123456/...)

Paste the API token in the field below and enter your Site ID

Hotjar API access requires a Business or Scale plan.

Ready to connect?

Sign in to On Belay and open the Integrations page to add Hotjar.

Sign in →

Permissions (scopes)

These are the data scopes On Belay can be granted for Hotjar. Your org admin controls which scopes are enabled per group.

ScopeDescriptionAccess
sites:readRead sitesRead only
heatmaps:readRead heatmap dataRead only
recordings:readRead session recordings metadataRead only
surveys:readRead surveys and responsesRead only
funnels:readRead funnelsRead only

Troubleshooting

"Invalid API key" or "Unauthorized" error
Double-check that you copied the full key without any leading/trailing spaces. Some platforms show a truncated preview — make sure to copy the full token. If the key was generated with restricted scopes, verify it includes the permissions listed above.
Connected but Claude can't access data
Check that your group has been granted access to this integration in On Belay → Groups → [your group] → Integrations. Also verify the specific scopes your group is permitted to use match what your query requires.
The key expires or stops working
Some API keys have expiration policies. Generate a new key in Hotjar and update it in On Belay → Integrations → Hotjar → Update key. Consider creating a dedicated service account or machine user for On Belay so the key isn't tied to a personal account.

Still stuck? We're happy to help.

Contact support →