Heatmaps
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
GET | |
GET | |
GET |
List all environments heatmaps
Aggregated heatmap interactions for a page. For type 'click'/'rageclick'/'mousemove' each result is a point with relative x, absolute client-y, and a count. For type 'scrolldepth' the response is scroll-depth buckets instead (cumulative reach down the page).
Required API key scopes
heatmap:readQuery parameters
- aggregationstringDefault:
total_countOne of:"unique_visitors""total_count" - cohort_idsstringnull
- date_fromstringDefault:
-7d - date_tostring
- filter_test_accountsbooleannull
- hide_zero_coordinatesbooleanDefault:
true - typestringDefault:
click - url_exactstring
- url_patternstring
- viewport_width_maxinteger
- viewport_width_mininteger
Example request
GET /api /environments /:environment_id /heatmapsExample response
Status 200
Retrieve environments heatmaps events
Drill into the individual session interactions behind one or more heatmap coordinates. Pass the 'points' you want to inspect (from the heatmaps list response) to get the underlying per-session events, so you can jump to the session recordings that produced a hotspot.
Required API key scopes
heatmap:readQuery parameters
- aggregationstringDefault:
total_countOne of:"unique_visitors""total_count" - cohort_idsstringnull
- date_fromstringDefault:
-7d - date_tostring
- filter_test_accountsbooleannull
- hide_zero_coordinatesbooleanDefault:
true - limitintegerDefault:
50 - offsetintegerDefault:
0 - pointsstring
- typestringDefault:
click - url_exactstring
- url_patternstring
- viewport_width_maxinteger
- viewport_width_mininteger
Response
Example request
GET /api /environments /:environment_id /heatmaps /eventsExample response
Status 200
List all heatmaps
Aggregated heatmap interactions for a page. For type 'click'/'rageclick'/'mousemove' each result is a point with relative x, absolute client-y, and a count. For type 'scrolldepth' the response is scroll-depth buckets instead (cumulative reach down the page).
Required API key scopes
heatmap:readQuery parameters
- aggregationstringDefault:
total_countOne of:"unique_visitors""total_count" - cohort_idsstringnull
- date_fromstringDefault:
-7d - date_tostring
- filter_test_accountsbooleannull
- hide_zero_coordinatesbooleanDefault:
true - typestringDefault:
click - url_exactstring
- url_patternstring
- viewport_width_maxinteger
- viewport_width_mininteger
Example request
GET /api /projects /:project_id /heatmapsExample response
Status 200
Retrieve heatmaps events
Drill into the individual session interactions behind one or more heatmap coordinates. Pass the 'points' you want to inspect (from the heatmaps list response) to get the underlying per-session events, so you can jump to the session recordings that produced a hotspot.
Required API key scopes
heatmap:readQuery parameters
- aggregationstringDefault:
total_countOne of:"unique_visitors""total_count" - cohort_idsstringnull
- date_fromstringDefault:
-7d - date_tostring
- filter_test_accountsbooleannull
- hide_zero_coordinatesbooleanDefault:
true - limitintegerDefault:
50 - offsetintegerDefault:
0 - pointsstring
- typestringDefault:
click - url_exactstring
- url_patternstring
- viewport_width_maxinteger
- viewport_width_mininteger
Response
Example request
GET /api /projects /:project_id /heatmaps /events