Struggling with Bad Heatmap Snapshots – Any Tips?

Hi everyone,

I’m having an issue with the heatmap where I’m getting very poor heatmap snapshots. I’ve tried it on several of our pages. Even using the function to capture a heatmap snapshot manually—for example via _paq.push(['HeatmapSessionRecording::captureInitialDom', 7]) directly in the DevTools console—doesn’t improve the results. The session recordings aren’t helping either.

Does anyone here have experience with this or maybe know a trick or two?

Thanks a lot,
Stefan

Hello @ACAAS_AI_SOLUTIONS Sorry to hear you are having issue with heatmap. For us to check on this could you please reach out to shop@matomo.org and provide the following so we can investigate further:

  1. Screenshot of the heatmap you are getting
  2. URL of the page you are trying to capture for heatmap
  3. Full screenshot of your heatmap configuration

“Sounds like the issue might be related to how the DOM is being captured or timing of the snapshot. I’d check if dynamic content (SPA/AJAX) is fully loaded before triggering captureInitialDom, and also verify if any consent/cookie scripts or lazy-loading is affecting heatmap rendering. Could also be worth testing on a clean page without tag conflicts.”