Skip to main content

Integrations

Hotjar

Wire Hotjar into every docs page — add your site id to `integrations.hotjar` and the script loads on next deploy.

Session recording, heatmaps, on-page surveys. Paid; free tier capped at 35 daily sessions.

Configure

integrations.hotjarstringpathrequired

Hotjar Site ID. Script injects via <Script strategy="afterInteractive"> and loads from https://static.hotjar.com.

{
  "integrations": {
    "hotjar": "1234567"
  }
}

Where to find your site id

Hotjar Sites & Organizations → copy the numeric Site ID.

Or set it from the dashboard — Editor → Configurations → AI & Advanced → Integrations.

Loading behavior

  • Strategy: afterInteractive — injected after page interactivity, so it never blocks first paint.

  • CSP: if you enforce a Content Security Policy, allowlist https://static.hotjar.com in script-src.

  • Removal: delete the integrations.hotjar key (or blank it in the dashboard) and redeploy — the script disappears on the next page load.

Related

Was this page helpful?

Last updated August 7, 2026