Report detailed metrics of the propensity modelling for a given site for the last 7 days.
This API is experimental and requires the experimental flag, it might change at any time without warning.
The user must be authenticated and have read permissions to the given site.
Request
The request object has the following fields:
|
Name |
Type |
Required |
Description |
|---|---|---|---|
|
|
String |
Yes |
The siteID to get the distribution for. |
Response
The response is an object with the following fields:
|
Name |
Type |
Description |
|---|---|---|
|
|
Array of Number |
Array of timestamps in ms, one for each day. |
|
|
Array of Object |
Array of objects with fields as below, one for each day. |
|
|
String |
The siteID the propensity report is for. |
|
Name |
Type |
Description |
|---|---|---|
|
|
Model info object |
Meta data describing the last training of the propensity model. |
|
|
Metrics object |
Behavioral metrics computed for low/medium/high propensity groups. |
The model info object has the following fields
|
Name |
Type |
Description |
|---|---|---|
|
|
Number |
Number of users included in the last run of the training. |
|
|
Float |
The ratio of additional subscribers identified through our model in comparison to the ones identified based on engagement only. |
|
|
String |
The time in ISO 8601 when the model was last trained. |
The metrics object has the following fields
|
Name |
Type |
Description |
|---|---|---|
|
|
Metric of type Range |
The average propensity score in the group. |
|
|
Metric of type Number |
The average number of pageviews in the group. |
|
|
Metric of type Number |
The average number of sessions in the group. |
|
|
Metric of type Number |
The average activeTime in seconds in the group. |
|
|
Metric of type Number |
The average number of pageviews per session in the group. |
|
|
Metric of type Number |
The ratio of users in each audience group. |
|
|
Metric of type list of Item Value Pairs |
The total number of pageviews for the 5 urls with most page pageviews. |
|
|
Metric object |
The average ratio of pageviews for each device per user in the group. |
|
|
Metric object |
The average ratio of pageviews for each device per user in the group. |
|
|
Metric object |
The total number of pageviews for the 5 cities with most page pageviews. |
Each metric object of type X has the following fields
|
Name |
Type |
Description |
|---|---|---|
|
|
X |
The value of the metric for the group of users with low propensity. |
|
|
X |
The value of the metric for the group of users with medium propensity. |
|
|
X |
The value of the metric for the group of users with high propensity. |
|
|
X |
The value of the metric for the group of users who are anonymous. |
|
|
X |
The value of the metric for the group of users who are subscribers. |
The type Range has the following fields
|
Name |
Type |
Description |
|---|---|---|
|
|
Number |
The minimal value of the metric. |
|
|
Number |
The maximal value of the metric. |
The type Item Value Pair has the following fields
|
Name |
Type |
Description |
|---|---|---|
|
|
String |
The item in question. |
|
|
Number |
The value for the item. |