Contribution

Get the contribution for the user type. Returns both actual and projected cohort rows.

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
freqenumOptional
Allowed values:

Response

Successful Response
cohortstring
The date of the cohort.
periodinteger
The period of the cohort. 0 is the first period.
cohort_sizeinteger
The number of users in the cohort.
cacdouble or null

The customer acquisition cost (CAC) for the cohort.

ltvdouble or null

The revenue lifetime value (LTV) for the cohort.

ltv_cacdouble or null
The LTV to CAC ratio for the cohort for the period.
gmltvdouble or null

The gross-margin lifetime value, which is the cumululative gross profit, for the cohort for the period.

gmltv_cacdouble or null
The gmLTV to CAC ratio for the cohort for the period. This related to the contribution margin.
contributiondouble or null

The contribution (gmLTV - CAC) for the cohort for the period.

ltv_minus_cacdouble or null

The LTV minus CAC for the cohort for the period (revenue-only contribution).

methodenum

Discriminator for whether this row reflects observed history (actual) or a forward projection of the cohort curve (projected).

Errors

422
Unprocessable Entity Error