When Heatmaps are being generated for your pages but no click data is being collected, this is often due either:
-
Dynamic HTML attributes or interactions with other scripts on your site
Solution: To check to see if Dynamic HTML attributes are the issues, head to the link above for troubleshooting. Your web developer can then work on changing or removing the dynamic attributes from your code.
-
event handlers behavior
If you do not see any click events recorded, either for an entire site, page or particular element, this is often because event handlers added by other scripts are capturing and blocking propagation of events, preventing the Hotjar script from receiving them. To record click data, the Hotjar script needs to be able to receive mouse-down events.
Common sources of this problem are event handlers which use
event.stopPropagation();
or jQuery event handlers which returnfalse
, which triggers this sameevent.stopPropagation();
behavior.Solution: It is important to reach out to your web development team to see if they can remove or fix even-blocking scripts on your site.