Can I embed a Heatmap in an iFrame on our website?


(Grrrian) #1

There is an API to get Heatmaps for a given page (Reporting API Reference: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3) but it would be really useful if we could just embed the Heatmap just like we can embed other widgets on third-party websites.

Is this even possible? I can’t find supporting documentation for this feature.


(Jason) #2

Hi,

Yes this is possible:

https://example.com/index.php?module=Widgetize&action=iframe&moduleToWidgetize=HeatmapSessionRecording&actionToWidgetize=showHeatmap&idSiteHsr=41&idSite=2&period=day&date=yesterday&token_auth=xyz

where xyz is your auth_token