<Header icon={<img src="/docs/logos/hotjar.svg" className="w-9 h-9 inline" />}>Hotjar</Header>

[Hotjar](https://www.hotjar.com) is a heatmap, session-recording and survey tool.

This is a **device (client-side) destination**: Jitsu loads the Hotjar tag in the visitor's
browser and forwards events to it, so recordings and surveys can be filtered by user attribute.

Event mapping:

- **identify** — calls `hj('identify', userId, attributes)`, forwarding traits as user
  attributes. An anonymous user (`null` id) is allowed.
- **track** — calls `hj('event', name)`. Event names are truncated to 250 characters and spaces
  are replaced with underscores, per Hotjar's rules. Hotjar events carry only a name; enable
  **Track event properties → attributes** to merge properties into the identified user's record.
- **page** — no-op by default. Enable **SPA page views** to emit `hj('stateChange', path)` on each
  Jitsu `page` event (recommended for single-page apps).

If you already load Hotjar on your site (via your own snippet or a tag manager), disable **Load
Hotjar** — Jitsu will forward events to your existing Hotjar instance instead of loading a second
copy. In that case the Site ID is only used when Jitsu loads the tag.


## Configuration

<DestinationConfiguration type="hotjar" />