Hotjar Has Been Added to Google Tag Manager
Great news - Hotjar has been made live on Google Tag Manager and comes with its own JavaScript triggers.
When you create a new tag in Tag Manager you can select "Hotjar Tracking Code" from the tag list - enter your site ID and click Save when you're done.
You can then create triggers that fire a Hotjar action when your visitors interact with a certain page, or interact with an element on the page in a certain way.
For example, you can trigger a click map recording after a user has logged into a site, or a scroll depth recording following a site search query.
We'll be experimenting with the new capability ourselves - you can learn more about how Hotjar's heatmap triggers work here.