Contribution

Get the contribution for the user type.

Path parameters

group_idintegerRequired
deal_idintegerRequired

Headers

AuthorizationstringRequired

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

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.

Errors