Customer Cohorts

Get the product cohorts for the company associated with the deal.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

group_idintegerRequired
deal_idintegerRequired

Query parameters

user_typeenumRequired
metricstringRequired
freqenumOptional
Allowed values:

Response

Successful Response
cohortstring
The date of the cohort.
user_idstring

The user identifier for the user-cohort.

periodinteger
The period since the user joined. 0 is the first period.
cohort_size_amountdouble
The size denominated in the metric amount of the cohort.
logo_retentiondouble or null
Whether or not the user is active in the period.
amountdouble or null
The active amount, such as revenue or gtv, in the period for the user in the period.
amount_retentiondouble or null

The amount retention rate, defined as amount / cohort size amount.

ltvdouble or null
The cumulative lifetime value in terms of the metric amount up until the period, on average per user in the cohort.

Errors