Hotjar integration for allowing Intercom's iframes recording | Community
Skip to main content
Submitted

Hotjar integration for allowing Intercom's iframes recording

Related products:Integrations, API & Custom Actions
  • January 20, 2025
  • 0 replies
  • 9 views

We are using Intercom as a product adoption tool for our users. Every time we deploy something new we inform the users what has changed and how to use it. Some things may be trickier than others, and we use Series with Posts and Tours, and Tooltips on the other hand, to explain all this. Followed by Surveys and Help centre articles.

When we deploy a new feature, we inspect recordings in Hotjar, and this helps us to discover UX or dev problems, bugs, or improvements we need to make, also changes in explanations in the tours and tooltips that we're adding.
In a recoding, the tour is not visible, as Hotjar is not able to record other domains' content through iframes, unless we add the data-hj-allow-iframe inside like this: <iframe src="https://example.com/page.html" data-hj-allow-iframe=""></iframe> and add the domains as allowed domains to record.

That's not a very difficult thing to implement, if you offer something like an integration with Hotjar or something similar, so when activated, Intercom adds the data-hj-allow-iframe parameter to every iframe that is added our website

More info about how Hotjar tracks iframes https://help.hotjar.com/hc/en-us/articles/115011624347-Can-I-Track-iframes-Inside-Heatmaps-and-Recordings