Segment makes it easy to send your data to Hotjar (and lots of other destinations). Once you've tracked your data through our open source libraries we'll translate and route your data to Hotjar in the format they understand. Learn more about how to use Hotjar with Segment.
When you toggle on Hotjar in Segment, this is what happens:
- Our CDN is updated within 5-10 minutes. Then our snippet will start asynchronously loading Hotjar’s tracking snippet onto your page. This means you should remove Hotjar’s snippet from your page.
- Hotjar will automatically start tracking visits and bound page events you’ve defined on your Hotjar profile.
- Hotjar triggers that you’ve defined on your Hotjar profile and placed in your website should stay where they are. They will continue to function normally.
Hotjar doesn’t track any other forms of data, so none of the rest of our API is supported.
Supported Sources and Connection Modes
To learn more about about Connection Modes and what dictates which we support, see here.
Segment lets you change these destination settings via your Segment dashboard without having to touch any code.
IE9 Placeholder Polyfill
HotJar loads a polyfill for placeholder tags on input fields for IE9. Disable this if you already use a placeholder plugin. https://docs.hotjar.com/v1.0/docs/disabling-placeholder-polyfill
This is your site ID for HotJar. It should be a whole number, such as