How far a page was scrolled
GET/ v1/ projects/ {project}/ analytics/ heatmaps/ scroll
For one page and device width (desktop when not given): its page views, their average furthest point in percent of the page's height, and for every 10% step the page views that reached it and their share.
Path parameters
project
The project's id (
prj_…).Query parameters
page
The page's path, such as
/pricing.device
The device width the clicks were made at, from the viewport (mobile under 768 px, tablet under 1,024, desktop from there).
desktoptabletmobilepreset
todayyesterday7d30d90dthis_monthlast_monththis_yearallfrom
A date (2026-11-01) or an RFC 3339 time.
to
A date (included) or an RFC 3339 time (excluded).
Responses
The scroll depth.
page
device
desktoptabletmobileviews
average
The average furthest point, in percent.
steps
Show 3 fieldsHide fields
depth
Percent of the page's height, 10 to 100.
views
Page views scrolled at least this far.
share
Their share of the page views, 0 to 1.
date_range
A resolved range [from, to) in UTC.
Show 2 fieldsHide fields
from
A time in UTC, ISO 8601.
to
A time in UTC, ISO 8601.
Example response
1{2"page": "/pricing",3"device": "desktop",4"views": 1,5"average": 1.5,6"steps": [7{8"depth": 1,9"views": 1,10"share": 1.511}12],13"date_range": {14"from": "2026-11-21T09:30:00Z",15"to": "2026-11-21T09:30:00Z"16}17}
Errors
Every error has the same shape: error.code, a message for people and details.
| Status | Code |
|---|---|
validation_error | |
clickhouse_not_configured |