Tag Hotjar session recordings and heatmaps with Mida test and variant IDs to watch real users in each variant.
Hotjar is a behavior analytics tool used by 1M+ websites for session recordings, heatmaps, on-page surveys, and feedback widgets. It's the industry standard for understanding the qualitative 'why' behind visitor behavior — a perfect complement to the quantitative 'what' from Mida A/B tests.
Mida calls hj('event', ...) to tag the active Hotjar session with mida_conversion_{test_id} and mida_conversion_{test_id}_{variant} tags whenever a visitor converts. Inside Hotjar you can then filter session recordings and heatmaps by those tags to watch only users who saw a specific variant — or only those who converted on it.
Filter Hotjar recordings by the mida_conversion_{test_id}_{variant} tag for the winning variant — replay 20–30 sessions and you'll typically uncover the exact UX moment that drove the lift.
Tag enough sessions per variant and Hotjar lets you build separate heatmaps per variant. Useful for confirming a hero-redesign test actually changed where attention goes.
Use Hotjar's targeting rules to show a 'Why didn't you sign up?' survey only to visitors tagged with the losing variant — fast qualitative feedback on what went wrong.
If a variant under-performs unexpectedly, filter Hotjar recordings by that variant and skim 10 sessions. Broken layouts, mis-positioned CTAs, and form issues jump out immediately.
Mida and Hotjar exchange the following events:
| Event | Direction | Description |
|---|---|---|
mida_conversion_{test_id} |
Data out | Tags the Hotjar session for the test on conversion. |
mida_conversion_{test_id}_{variant} |
Data out | Tags the Hotjar session for the specific variant on conversion. |
Hotjar's free and Observe plans cap how many event tags can be applied to a session. We deliberately keep the volume low so you don't burn through quota.
Tagging sessions with hj('event') works on every Hotjar plan, but filtering recordings and heatmaps by event requires Hotjar Plus or above.
Not via the standard integration. If you need exposure-level tagging, use Mida's Webhook integration to call Hotjar's API yourself.
Mida is the lightweight A/B testing and personalization platform that integrates with the tools you already pay for.