Retention
The Retention endpoint allows viewing analytics on retention of users by cohorts. This end point allows retention analytics to be viewed for Apps, Stories, Pathways OR Streams.
Available Frequency Endpoints
v1/analytics/retention/apps
Get retention for an app or a list of apps.
v1/analytics/retention/pathways
Get retention for a pathways or a list of pathways.
v1/analytics/retention/streams
Get retention for a stream or a list of streams.
v1/analytics/retention/stories
Get retention for a story or a list of stories.
Parameters
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.
Key
Value
items
Array of Strings Item name or ID
Examples
Get Retention For Apps
The example below retrieves retention for a list of apps.
Get Retention For A Specific App
The example below retrieves retention for a single app.
Success Response
Whichever retention
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 retention
data. The example below shows a successful response when using the retention/apps
endpoint.
Retention Item
Key
Type
cohort
String The name of the cohort for a given start and end.
start
String The start time of the cohort
end
String The end time of the cohort
weeks
Array Int Total of the returning users week by week.
Last updated