Skip to content
IForevents Docs
IForevents Docs
HomeInstallGitHubPrivacyTermsSecurityIntroduction
Support

Pages with heatmap data

POST
/v1/analytics/heatmaps/pages

The pages (paths, or screens in an app) that sent heatmap data in [start, end), most viewed first: page views, visitors, clicks, rage and dead clicks, average scroll depth and frustration rate (the percentage of page views with a rage or dead click). device narrows to desktop, tablet or mobile; search keeps paths containing it. Default window: the last 30 days.

Authorization

AuthorizationBearer <token>

Session token issued by the accounts service (or the legacy /v1/auth routes).

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/analytics/heatmaps/pages" \  -H "Content-Type: application/json" \  -d '{    "device": "desktop",    "end": "2026-09-13T12:30:45Z",    "limit": 50,    "start": "2026-09-01T00:00:00Z"  }'
{  "pages": [    {      "avg_scroll_depth": 63.5,      "clicks": 3100,      "dead_clicks": 160,      "frustration_rate": 9.2,      "last_seen": "2026-09-13T12:30:45Z",      "origin": "https://example.com",      "page": "/pricing",      "page_views": 1200,      "platform": "web",      "rage_clicks": 41,      "visitors": 940    }  ]}
device?string
end?string
Formatdate-time
limit?integer
search?string
start?string
Formatdate-time