Report detailed metrics of the propensity modelling for a given site.
|
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 |
No |
The siteID to get the distribution for. |
If no siteId is provided, report for all available sites for which the user has read access will be returned.
Response
The response is an object with the following fields:
|
Name |
Type |
Description |
|---|---|---|
|
|
Array of Object |
Array of objects with fields as below, one for each site. |
|
Name |
Type |
Description |
|---|---|---|
|
|
String |
The siteID the propensity distribution is for. |
|
|
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 |
|---|---|---|
|
|
String |
The start time in ISO 8601 for the event data period used to calculate the metrics. |
|
|
String |
The start time in ISO 8601 for the event data period used to calculate the metrics. |
|
|
Number |
Number of users included in the last run of the training. |
|
|
Number |
Precision between 0 and 1. A high precision score means the model did a good job in correctly predicted who the subscribers were on the test set during the last 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. |