Heatmaps
Clicks, movement, scroll depth, attention and frustration on every page
The Heatmaps screen shows, for each page of your site or screen of your app, where visitors click, where the pointer goes, how far they scroll, which parts stay longest on screen, and where they get frustrated or head for the exit. The heat is drawn on top of the live page.
What is recorded
| Layer | What it shows |
|---|---|
| Clicks | Every click or tap, and the elements clicked most, with their share of page views. |
| Movement | Where the pointer travels, in coarse cells (2% of the width by 32 px). |
| Scroll | The share of page views that reached each depth, with the 75%, 50% and 25% lines and the fold. |
| Attention | Time each 5% band of the page spent on screen. |
| Frustration | Rage clicks (three or more clicks in under a second on one spot) and dead clicks (nothing changed on the page within a second). |
| Intent | Hesitations (the pointer rests on something clickable, then moves on without clicking) and exit intent (the pointer leaves through the top of the window). |
The screen also lists the most copied texts, the device split (desktop, tablet, mobile) and every page with its views, visitors, clicks, scroll depth and frustration rate.
There is no session recording. The SDKs never capture the page's content, screenshots or what people type in fields; element texts are trimmed to a few words and you can mask them. Data is added up on the device and sent in small batches.
Turning it on
Heatmaps are on by default in the web snippet 1.1.0 and later and in @iforevents/browser 0.2.0 and later.
- Snippet:
data-heatmaps="false"turns them off;data-heatmaps-sample-rate="0.25"records one page view in four. @iforevents/browser: theheatmapsoption takesfalseor{ sampleRate, mouseMove, maskText, ignore }. Elements matchingignore(a CSS selector), or inside an element markeddata-iforevents-ignore, are never recorded.- Flutter: wrap your app in
IforeventsHeatmap, for exampleMaterialApp(builder: (context, child) => IforeventsHeatmap(child: child!)). Screens are named by the IForevents navigator observer.
The preview
The page is loaded live in a sandboxed frame at the median width of your visitors on that device. If your site refuses to be shown in frames (X-Frame-Options or frame-ancestors), turn off Show the real page to see the heat on a neutral outline. App screens always use the outline. The preview is never recorded as a visit.
Storage
Heatmap data is kept apart from events: it does not appear in the events explorer, does not count as events and is not sent to destinations. It follows the project's retention window and is erased with the user when you delete a user's data. On a self-hosted install a busy page adds a few kilobytes per page view.