Skip to main content
Version: 26.01

Heatmaps - Domains Read

Endpoint​

/o/heatmaps/domains

Overview​

Returns the view segments and the domains for which heatmap data is available in an app.

Authentication​

Pass api_key or auth_token as a query parameter, or send countly-token as a header. See Authentication.

Permissions​

Requires heatmaps Read permission.

Request Parameters​

ParameterTypeRequiredDescription
api_keyStringConditionalRequired if auth_token is not provided.
auth_tokenStringConditionalRequired if api_key is not provided.
app_idStringYesApp id.

Examples​

Read domains of an app​

/o/heatmaps/domains?api_key=YOUR_API_KEY&app_id=6991c75b024cb89cdc04efd2

Response​

Success Response​

{
"segments": {
"platform": ["Android", "iOS"]
},
"domains": ["example.com"]
}

Response Fields​

FieldTypeDescription
segmentsObjectView segments of the app. Each key is a segment name and its value lists the segment values.
domainsArrayDomains with recorded click data.

Behavior​

  • domains is empty when no Drill database is available.