Experience Analytics
Experience Analytics refers to the process of collecting, analyzing, and interpreting data about user interactions to understand and improve the Personalize experiences. Analytics is only available for activated experiences. The following requests allow you to fetch the analytics of the specific experiences performance within a project.
Get Analytics Summary
https://personalize-api.contentstack.com/experiences/{uid}/analytics/summaryThe Get Analytics Summary request fetches the analytics summary of a specific experience of a project. The summary gives you a count of impressions and conversions for a variant, along with its probability to be best in the given timeframe. The leading or winning variant information as determined by the analytics engine is also calculated and returned provided that sufficient data exists.
Please note that leading variant and conversion information is only available on A/B test experiences.
To configure the permissions for your application via OAuth, include the personalize:read or the personalize:manage scope.
{
"variants": [
{
"name": "Control",
"shortUid": "0",
"impressions": 2160,
"conversions": [
{
"metric": "Click",
"__type": "Primary",
"count": 108
}
],
"probabilityToBeBest": 95
},
{
"name": "Alternate Heading",
"shortUid": "1",
"impressions": 2161,
"conversions": [
{
"metric": "Click",
"__type": "Primary",
"count": 72
}
],
"probabilityToBeBest": 5
}
],
"leadingVariant": {
"status": "LEADING",
"name": "Control",
"shortUid": "0"
},
"refreshedAt": "2026-07-29T08:48:25.781Z",
"experienceVersion": "6887777b3335554698867847"
}Get Time-series Analytics
https://personalize-api.contentstack.com/experiences/{uid}/analytics/time-seriesThe Get Time-series Analytics request fetches the time-series analytics of a specific experience of a project. The response contains hourly impressions and conversions for the specified time-frame. The duration for each interval is specified in the ISO-8601 interval format.
To configure the permissions for your application via OAuth, include the personalize:read or personalize:manage scope.
[
{
"interval": "2024-09-21T10:47:56.660Z/PT1H",
"variants": [
{
"shortUid": "0",
"impressions": 1080,
"conversions": [
{
"metric": "Click",
"count": 54,
"__type": "Primary"
}
]
},
{
"shortUid": "1",
"impressions": 1081,
"conversions": [
{
"metric": "Click",
"count": 36,
"__type": "Primary"
}
]
}
],
"experienceVersion": "6887777b3335554698867847"
},
{
"interval": "2024-09-21T11:47:56.660Z/PT1H",
"variants": [
{
"shortUid": "0",
"impressions": 1080,
"conversions": [
{
"metric": "Click",
"count": 54,
"__type": "Primary"
}
]
},
{
"shortUid": "1",
"impressions": 1081,
"conversions": [
{
"metric": "Click",
"count": 36,
"__type": "Primary"
}
]
}
],
"experienceVersion": "6887777b3335554698867847"
}
]