Create an A/B Test Experience
An A/B test experience is a randomized experiment that lets you present two or more content variants of a web page or an app and display them to different sets of users at the same time to verify the effectiveness of these variants.
In Contentstack Personalize, A/B Testing empowers you to make data-driven decisions and optimize your content strategy by experimenting with different content variations. By creating and comparing these variations, you can:
- Identifying Effective Content
- Optimizing for Conversions
- Personalizing Experiences
- Reducing Bounce Rates
- Improving Customer Satisfaction
When to use A/B Test experiences in Contentstack Personalize?
- Comparing Content Variations
- Data-Driven Decision Making
- Optimizing for Conversions
- Experimentation and Iteration
- Technical Expertise and Resources
- Contentstack's A/B Testing Capabilities
By carefully considering these factors, you can determine whether A/B testing is the right fit for your optimization strategy and leverage it to drive better results.
Prerequisites
- Contentstack account
- Access to the Contentstack Organization that has Personalize enabled
- Access to a project in Personalize
- Audience created in your Personalize project
- Event created in your Personalize project
Note: Users with Owner and Member access to a Personalize project can create A/B Test experiences.
Steps for Execution
Note: For this guide, we have assumed that you have already created a Personalize project. If not, please follow this guide and create a project in Personalize.
To create an A/B Test Experience, log in to your Contentstack account and perform the following steps:
- In the left navigation panel, click the Personalize icon.
- You will be redirected to the Personalize Projects landing page. Click the project for which you want to create a Segmented Experience.
- On the Experiences page, click the + New Experience button.
- In the Select Experience Type modal, click the A/B Test experience type.
- On the experience draft page, in the Overview tab, provide a suitable Name and an optional Description for the experience and then click the Save General Details button.
- Click the Configuration tab.
- Under the Variants section,
- Variant Distribution: Variant Distribution in A/B testing is the process of determining how traffic is to be divided between the different variants of your content. You can choose to distribute traffic evenly (Equally split) between all variants, or you can weight the distribution (Custom) in favor of one variant over another. By default, this is set to Equally split.
Here, we are using the Equally split option for the Variant Distribution. - After selecting the variant distribution, you can create variants for the A/B Test. Variants are alternative versions (CMS Entry Variants) of content or experiences created for testing against each other. To create variants for your experience, click the + Add Variant button.
- Short UID: This unique ID is automatically assigned to each variant and used in Personalize Edge SDK and Personalize API requests.
- Variant Name: Provide a meaningful name for the variant. This name will be reflected in the Entry Editor for the Entry Variants in the CMS.
Note: Each A/B Test experience must contain at least 1 variant. Each experience is reflected in the CMS as Variant Group and you can create Entry Variants for each of these variants via the Entry Editor. - Traffic Distribution in %: For Equally split the distribution percentage is automatically calculated. For Custom, you can specify the percentage as per your preference.Similarly, you can add multiple variants by clicking the + Add Variant button.
- Variant Distribution: Variant Distribution in A/B testing is the process of determining how traffic is to be divided between the different variants of your content. You can choose to distribute traffic evenly (Equally split) between all variants, or you can weight the distribution (Custom) in favor of one variant over another. By default, this is set to Equally split.
- Under the Metrics section,
- Click + Add Event and select the preferred event from the drop-down list.You can add multiple events to an A/B Test experience as Metrics. Use the Personalize Edge SDK to trigger the events for your experiences using the triggerEvent method.
Note: The first event that you add becomes the ‘primary’ metric. The 'primary' metric determines the winning variants, while secondary metrics offer additional insights. When any of the listed events occur, metrics calculate an increase in unique conversions per visitor which you can view in the experience Analytics tab.
- Click + Add Event and select the preferred event from the drop-down list.You can add multiple events to an A/B Test experience as Metrics. Use the Personalize Edge SDK to trigger the events for your experiences using the triggerEvent method.
- Under the Target Group section,
- Target Group Split: By default, Everyone is part of the A/B test, you can target the A/B test to a specific set of audiences (Selective). Here, we are using the Selective split option for the target group.
- Condition: You can set the rule to satisfy either all audiences (Match All) or at least one of them (Match Any) by selecting from the dropdown.
- Audiences: Click the Audiences field. From the Select Audience(s) modal, select one or multiple audiences, then click the Apply Selected Audiences button to set the audience criteria for the target group.
- Once you have defined your variant, click the Save Draft button.
- Now click the Activate Draft button to activate the experience on your site for your visitors.
Note: Ensure you create Entry Variants in the CMS before activating an experience for a seamless personalized campaign for your visitors.
This creates a new A/B Test Experience in your Personalize project. For managing experience versions (activated/draft/paused), please refer to this guide.
Additional Information: To achieve optimal personalization for your users, prioritize experiences and variants independently. Use experience priority when multiple experiences customize the same element on a digital property, and apply variant priority when audience conditions match multiple variants. For more details, please refer to this guide.
After activating your A/B Test experience, the Analytics are updated within a few minutes when your visitors start accessing and interacting with your content.
Note:
- Users with Owner and Member access to a Personalize project can create new experiences, and edit/delete existing experiences.
- The default number of Experiences allowed per project is 100. To increase this limit, please contact our support team. By Contentstack permissions, they can be extended till 1000 per project.
Additional Resource: You can use the Personalize Management API to create, edit, delete, and retrieve all existing experiences.