Heatmap does not capture screenshots

Hi,
Heatmap does not capture screenshots when it goes through CloudFront, even though the number of samples increases.
The following message is displayed.

There have been 4 samples recorded so far. however, no screenshot has been taken yet. if there is a “Screenshot URL” for this heatmap, it may take a while for the screenshot to become available as a Depending on the sample rate this may take a while.

I want to check if the request is stopped by WAF or CloudFront, but I can’t find the target request.
Please let me know if you know what kind of request is being sent when acquiring heatmap captures.

Best Regards,

Hello Murao. Sorry to hear that you’re having trouble with the heatmap plugin. Could you please try to capture heatmap manually by following this guide: https://matomo.org/faq/heatmap-session-recording/how-to-capture-the-initial-heatmap-snapshot-manually/

I hope this helps.

1 Like

Hi @murao-asami . As far as the actual requests to watch for, you’ll want to watch for the following to your Matomo instance:

  • The request for /matomo.js
  • The request for plugins/HeatmapSessionRecording/configs.php which should receive a response containing a collection of active heatmaps. If the DOM hasn’t been recorded yet, the getdom property of the heatmap should be set to true.
  • If the getdom property is set to true, the next POST request sent to /matomo.php should contain a Form Data field like hsr_ev[{hsr_id}][dom]: with a value containing the DOM JSON.
1 Like