---
schema_version: "1"
id: 9980dc1dd94341a63f493ab1d7e2986b97e6137fb1adb0d972938ae60fc41f55
title: A/B Testing Configuration Components
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_ab_testing_field_info.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_ab_testing_field_info.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 995f0a5d011a770d495eb3f9a8cf4b83e194e0f01d6881b6587c8ec30d4623c8
description: To create a B2C Commerce A/B test, configure settings for participants, segments, related segment experiences, and key metrics.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# A/B Testing Configuration Components

To create a B2C Commerce A/B test, configure settings for participants, segments, related segment experiences, and key metrics.

These configuration components determine how an A/B test runs and how B2C Commerce measures its outcome.

- Participants: the customer groups and expiration policies that define who's included in a test.
- Segments: the variations of a promotion, sorting rule, or experience shown to participants, including the control group.
- Rank precedence: the priority a test's promotions take when multiple promotions could apply at the same time.
- Key metrics: the measurement, such as conversion rate or revenue, that determines which segment performs best.

- **[A/B Test Participants for B2C Commerce](https://help.salesforce.com/s/articleView?id=cc.b2c_ab_test_participants.htm&release=264.0.0&type=5)**  
    A/B tests always include participants who are defined by customer groups and expiration policies.
- **[A/B Test Segments for B2C Commerce](https://help.salesforce.com/s/articleView?id=cc.b2c_ab_test_segments.htm&release=264.0.0&type=5)**  
    Distribute test segments across a maximum of 12 simultaneous A/B tests, as long as the total segments for all active tests don’t exceed 12. Each A/B test can have up to five unique test segments, one of which is always the control group. Each test segment targets a portion of the total test participants. The control group receives the same storefront experience as if the A/B test didn’t exist.
- **[A/B Test Rank Precedence for B2C Commerce](https://help.salesforce.com/s/articleView?id=cc.b2c_ab_test_rank_precedence.htm&release=264.0.0&type=5)**  
    B2C Commerce uses rank to control precedence when you configure multiple promotions to apply at the same time. To determine A/B test promotion rank precedence, choose a number from 10 as set by B2C Commerce; you can configure these system objects without a rank (NONE) is considered the lowest rank and evaluated last. Test promotions apply in the order of lowest rank value to highest rank value.
- **[A/B Test Key Metrics for B2C Commerce](https://help.salesforce.com/s/articleView?id=cc.b2c_ab_testing_metrics.htm&release=264.0.0&type=5)**  
    An A/B test configuration requires you to specify the key metric, which is the most important measurement among the metrics collected from test participant activity.