Decibel Insight

Defining Page Roles

Page Roles can be used in Aggregate Heatmaps as a way to analyse on-page activity aggregated across a number of pages, rather than on an individual page-by-page level. These can be implemented by using the setPageRole end-point, such as below.


With the number in the brackets replaced by the relevant ID of the Page Role that you wish to set. The full list of pre-defined Page Roles can be found below.