---
schema_version: "1"
id: 9e35b28cef8f2d300d6d4bd49fc7ff8f6d1b17bc92843ffc63fc1dfc0eb507a5
title: Create an A/B Test for B2C Commerce
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_creating_an_ab_test.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_creating_an_ab_test.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f9076d8dc98dcc4c84c4ea0829f287cbd08dac68e10a1ff72ba22f38e8b96420
description: Create A/B tests with multiple user groups, including a control group, and assign promotions, slot configurations, or category sorting rule overrides to each experience.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Create an A/B Test for B2C Commerce

Create A/B tests with multiple user groups, including a control group, and assign promotions, slot configurations, or category sorting rule overrides to each experience.

1. In Business Manager, go to the App Launcher ![App Launcher](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), and select **Merchant Tools** | **site** | **Site Preferences** | **A/B Test Preferences**.
2. Turn on A/B testing for the instance type for your site, and enable all relevant A/B test settings.
3. Go to **Online Marketing** | **A/B Tests**, and click **New**.
    
    To modify an existing test, click the name in the A/B tests list.
4. On the A/B test page, under **General Information**, add values for each field.
    
    - **A/B Test ID**—enter a unique ID or accept the automatically generated one.
    - **Enable A/B Test**—select this checkbox to turn on the test.
    - **Description** (Optional)—enter a description for the A/B test.
    - **Email Addresses (for Notifications)**—enter email address for notifications. Emails are sent hourly.
    - **Tags**—enter one or more tags, separated by a comma. Use tags to group similar tests and find them easily in the A/B dashboard.
    - **Participation Trigger**—enter the event that initiates the A/B test from the dropdown list. If you select Category Page View, enter a category in the **Categories**. If you select Pipeline Call, enter a pipeline in the **Pipeline** field.
    - **Participation Expiration**—enter when participants expire from the test.
    - **Key Metrics**—select the metrics to track for this test.
5. Under **Scheduling**, specify the start and end date and time.
    
    An A/B test can last up to 90 days.
6. Under **Qualifiers**, select the plus sign to open the **Select Customer Groups** page.
    
    If you require membership in all selected customer groups, select **Qualifying Customer Must Belong to All Selected Customer Groups**. If you don't select the checkbox, membership in only one customer group qualifies the customer.
7. Add the customer groups to include in the test.
    
    To search for a group, type the name in the search field or select one or more groups from the list.
8. Save your changes.
    
    Two other tabs, **Segments** and **Results**, become available.

Create test segments for this A/B test.

#### See Also

- [Configure A/B Test Segments for B2C Commerce](https://help.salesforce.com/s/articleView?id=cc.b2c_create_an_ab_test_segment.htm&language=en_US)