Experience Analytics are crucial for understanding user interactions with content and enabling data-driven personalization. By collecting and analyzing user data, you can uncover behavior, preferences, and motivations, allowing for targeted experiences that boost engagement, conversions, and overall business success. You can use experience analytics in Contentstack Personalize to improve your content personalization strategies by:
Note: After an event is triggered, it may take up to a minute for the count to update on the Analytics page.
Note: The analytics data available in Personalize is only retained for the past 6 months (rolling window). Data older than 6 months is automatically deleted and cannot be retrieved.
For Segmented Experiences, analytics track and display only impressions when activated.

Note: Toggle to the table view to see a detailed summary.

For A/B Test Experiences, analytics track and display impressions and conversions when activated.

Note: Toggle to the table view to see a detailed summary.

Once the A/B Test experience is activated, we wait for one of the following conditions to be met before calculating insights:
Once either condition is satisfied, users can access near-real-time summary reports and insights to identify the best-performing variant
Note: An event is counted as a conversion only if it is attributed to an impression. Attribution occurs when a conversion takes place within 30 days of the corresponding impression.
Personalize uses Probability to be Best (P2BB) to determine how to allocate variants to users. The P2BB is based on a Bayesian statistical approach.
The Bayesian approach starts with some rough expectations about the value you are trying to estimate. As it begins recording actual data, the expectation gets updated. Over time, the curve becomes tighter and more precise, because more data gives more confidence about what the value really is.
In this framework, probability expresses how certain or uncertain you are, based on your prior knowledge plus the data you’ve observed. Bayesian probability is essentially a tool for tracking and updating your confidence as information accumulates.

The plot above illustrates the convergence process of the distribution as the events (impressions and conversions) are collected. Note how the bell shape becomes sharper as more events are registered eventually.
The Probability to Be Best (P2BB) for each variant in an A/B test is calculated using the Bayesian approach (as discussed above).
This method models the conversion rate of each variant as a Beta Distribution.
The P2BB represents the probability that a given variant has the highest true conversion rate among all tested variants, based on the observed data.
Terminology
Prior: A constant and uninformative prior is used, parameterized by alpha and beta. This ensures the results are driven primarily by the new data.
Beta Function: A mathematical function that generates a Beta Distribution based on prior belief and new evidence.
In an A/B test, the Beta function takes two arguments:
Posterior: Represents the updated knowledge after the test. It is the Beta Distribution produced by the Beta function.
Random values are sampled from each variant’s Posterior Distribution to enable comparison.
Random Samples: Since the Posterior Distribution is continuous, discrete samples are required for comparison. For each variant, 15,000 random values are extracted from its Posterior Distribution.
Each sample represents one possible estimate of that variant’s true conversion rate.
Feed the conversion and non-conversion counts into the Beta function along with the prior constants.
The function is expressed as: Beta(1 + Conversions, 1 + Non-Conversions)
This function yields the Posterior (a Beta Distribution) for each variant.
The final result (P2BB value) indicates the likelihood that a variant is the top-performing version among all tested variants.
The A/B Test Leader Determination Logic is a systematic method for identifying the winning variant in an A/B test. It starts by defining clear objectives and key performance indicators (KPIs). Currently, Contentstack Personalize uses the "probability to be best" insight to determine a winning variant.
Variants are then tested on a similar audience segment, and data is collected over a set period. Statistical analysis compares each variant's performance against the control group, considering factors like statistical significance and confidence intervals. The variant that best meets the KPIs is declared the leader, enabling data-driven decisions that enhance personalization strategies.
We employ the following conditions to determine if the currently leading variant can be declared winner: