Skip to content
IForevents Docs
IForevents Docs
InicioInstalarGitHubPrivacidadTérminosSeguridadIntroducción
Referencia de la API
Query events with optional property filters POSTEvent names and the property keys seen on them GETDistinct values for one property GETExport events as CSV GETExport tracked users as CSV GETPaths after or before one event POSTOrdered step conversion POSTThe users behind one funnel step POSTOne page's heatmap: clicks, movement, scroll reach, attention and intent signals POSTPages with heatmap data POSTEvery dashboard panel in one call POSTServer-sent events stream of the dashboard payload POSTA bucketed metric over a window, optionally broken down by a property POSTThe events or users behind one insights point POSTFormulas over named Insights queries POSTHeadline counters GETUsers per acquisition origin: channel, source, medium, utm, referrer, click id, landing page or any URL parameter POSTURL query parameters seen in the range, and the origin properties GETTraffic KPIs GETProjects owned by the caller's organization GETCustom property keys for the explorer filter and breakdown pickers GETDistinct values of one property, most frequent first GETCohort retention: daily, weekly or monthly, with optional entry and return events and an entry-event breakdown POSTBreak one event down by a property value POSTUsers and events per day GETMost frequent events GETPaginated tracked users GET
Soporte
API ReferenceEndpointsAnalytics

One page's heatmap: clicks, movement, scroll reach, attention and intent signals

POST
/v1/analytics/heatmaps

Everything recorded on one page in [start, end), optionally for one device class (desktop, tablet, mobile) or platform (web, ios, android). layers holds the busiest 6000 cells of each point layer (click, move, rage_click, dead_click, hesitation, exit_intent): cells are 1% of the page's width (x in hundredths of a percent, 0 to 10000) by 16 CSS pixels (y from the top of the document); count is clicks or movement samples, users the distinct visitors. elements ranks the elements people clicked by CSS selector, with rage and dead clicks, hesitations (a pointer resting on an interactive element without clicking) and click_rate (percentage of page views with a click on it). scroll gives, for each 5% of the page's height, the share of page views that saw it; attention the average time each 5% band was on screen per page view and its share of the total. summary has the medians of the document height and viewport, the canvas the layers are drawn on, and the origin the page was served from.

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" \  -H "Content-Type: application/json" \  -d '{    "device": "desktop",    "end": "2026-09-13T12:30:45Z",    "page": "/pricing",    "start": "2026-09-01T00:00:00Z"  }'
{  "heatmap": {    "attention": [      {        "avg_ms": 9100,        "band": 0,        "from": 0,        "share": 18.9,        "to": 5,        "total_ms": 10920000      }    ],    "copied": [      {        "count": 12,        "text": "[email protected]"      }    ],    "device": "desktop",    "devices": [      {        "key": "desktop",        "page_views": 800,        "visitors": 610      }    ],    "elements": [      {        "avg_hover_ms": 1400,        "click_rate": 33.1,        "clicks": 410,        "dead_clicks": 0,        "hesitations": 35,        "rage_clicks": 2,        "selector": "main > section.plans > a.cta",        "tag": "a",        "text": "Start free",        "users": 388,        "x": 4870,        "y": 840      }    ],    "end": "2026-09-13T12:30:45Z",    "layers": {      "click": [        {          "count": 410,          "users": 388,          "x": 4800,          "y": 832        }      ],      "dead_click": [],      "exit_intent": [],      "hesitation": [],      "move": [],      "rage_click": []    },    "page": "/pricing",    "platforms": [      {        "key": "web",        "page_views": 1200,        "visitors": 940      }    ],    "scroll": [      {        "depth": 0,        "page_views": 1200,        "percent": 100      },      {        "depth": 50,        "page_views": 720,        "percent": 60      }    ],    "start": "2026-09-01T00:00:00Z",    "summary": {      "avg_scroll_depth": 63.5,      "avg_time_on_page_ms": 48200,      "clicks": 3100,      "clicks_per_view": 2.58,      "copies": 25,      "dead_clicks": 160,      "document_height": 4200,      "exit_intent_rate": 17.5,      "exit_intents": 210,      "fold_depth": 21.4,      "frustration_rate": 9.2,      "hesitations": 380,      "move_samples": 88000,      "origin": "https://example.com",      "page_views": 1200,      "rage_clicks": 41,      "viewport_height": 900,      "viewport_width": 1440,      "visitors": 940    }  }}

The users behind one funnel step POST

Previous Page

Pages with heatmap data POST

Next Page

device?string
end?string
Formatdate-time
page*string
platform?string
start?string
Formatdate-time