---
title: "Experience Analytics"
description: "<p>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.</p>"
url: "https://www.contentstack.com/docs/developers/apis/personalize-management-api/experience-analytics"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-04-24"
---

# 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

### Get Analytics Summary

**GET** `/experiences/{uid}/analytics/summary`

The 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.

#### URL Parameters

- **uid** (required)
  Enter the Experience UID to fetch analytics for

#### Query Parameters

- **to** (optional)
  The “to” parameter allows you to specify the end date for the analytics summary of the experiences. The timestamp is provided in the ISO-8601 format. If not specified, analytics leading upto the present date is returned.
- **from** (optional)
  The “from” parameter allows you to specify the start date for the analytics summary of the experiences. The timestamp is provided in the ISO-8601 format. If not specified, analytics from the beginning of the experiment is returned.
- **version** (required)
  The analytics is filtered to fetch a specific version. Pass the version uid here. This is a required query parameter.

#### Headers

- **authorization** (optional)
  Enter your OAuth token here. Read more: https://www.contentstack.com/docs/developers/developer-hub/contentstack-oauth
- **authtoken** (optional)
  Enter your authtoken here. Read more: https://www.contentstack.com/docs/developers/create-tokens/types-of-tokens#authentication-tokens-authtokens
- **x-project-uid** (required)

#### Sample Response

```json
{
  "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-30T17:39:33.070Z",
  "experienceVersion": "6887777b3335554698867847"
}
```

## Get Time-series Analytics

### Get Time-series Analytics

**GET** `/experiences/{uid}/analytics/time-series`

The 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.

#### URL Parameters

- **uid** (required)
  Enter the Experience UID to fetch analytics for

#### Query Parameters

- **to** (optional)
  The “to” parameter allows you to specify the end date for the analytics summary of the experiences. The timestamp is provided in the ISO-8601 format. If not specified, analytics leading upto the present date is returned.
- **from** (optional)
  The “from” parameter allows you to specify the start date for the analytics summary of the experiences. The timestamp is provided in the ISO-8601 format. If not specified, analytics from the beginning of the experiment is returned.
- **metric** (optional)
  The metric parameter allows you to fetch the time-series analytics for a specific event metric configured in the A/B test. Filtering by metric only works for an A/B test.
- **version** (required)
  The analytics is filtered to fetch a specific version. Pass the version uid here. This is a required query parameter.

#### Headers

- **authorization** (optional)
  Enter your OAuth token here. Read more: https://www.contentstack.com/docs/developers/developer-hub/contentstack-oauth
- **authtoken** (optional)
  Enter your authtoken here. Read more: https://www.contentstack.com/docs/developers/create-tokens/types-of-tokens#authentication-tokens-authtokens
- **x-project-uid** (required)

#### Sample Response

```json
[
  {
    "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"
  }
]
```