Demographics
Last updated
Last updated
The Demographics endpoint allows viewing analytics on age groups. This end point allows demographic analytics to be viewed for Apps, Stories, Pathways OR Streams.
v1/analytics/demographics/apps
Get demographics for an app or a list of apps.
v1/analytics/demographics/pathways
Get demographics for a pathways or a list of pathways.
v1/analytics/demographics/streams
Get demographics for a stream or a list of streams.
v1/analytics/demographics/stories
Get demographics for a story or a list of stories.
The items parameter allows you to filter items based on the name or ID of the item. If the item parameter is not provided the endpoint will return the latest 10 items.
The example below retrieves demographics for a list of apps.
The example below retrieves demographics for a single stream.
Whichever demographics
endpoint you are using a successful response will return an array of items with each item containing a context item (app, pathway, stream or story) and corresponding demographics
data. The example below shows a successful response when using the demographics/apps
endpoint.
Key
Value
items
Array of Strings Item name or ID