How do matomo heatmap handle accordions


I just wondered how heatmap handles elements that expand page length like accordions. I have an extremely long accordion element. How will that be treated by heatmaps?

Maybe you could consider this as the same as a single-page application: Single-Page Application Tracking: Integrate - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v4

Hi there,

Heatmaps gathers the DOM at the point that the page has stopped loading. If the accordion is not visible at that point it will not appear in the heatmap. The clicks on the accordion will will appear below where the accordion was on the page.