---
schema_version: "1"
id: f9ce0f9c997b7cff36b27cfd0df312d2d43cc4cdee7ca46c7b43e9adb8327b5f
title: Configure A/B Tests for Multiple Segments and Slots
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_ab_test_getting_complicated_testing.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_ab_test_getting_complicated_testing.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 05174e8de7ac221cdc56da21949849549011c30a1f568fcb0c25630d44aa5271
description: Determine how the order of two recommended products, and the home page background image affects Adds to Basket. Test changes to the order of four recommended products and the background image for a home page slot. There's a limited time to perform the test and you can't run the tests one after the other.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Configure A/B Tests for Multiple Segments and Slots

Determine how the order of two recommended products, and the home page background image affects Adds to Basket. Test changes to the order of four recommended products and the background image for a home page slot. There's a limited time to perform the test and you can't run the tests one after the other.

Complete these tasks in the Staging instance.

1. Click 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), selects **Merchant Tools**, and then goes to **Online Marketing** | **A/B Tests**, and creates an A/B test called recommended-products.
2. Enable the test and enter an optional description.
3. Include an email address for notifications when there are statistically significant results for the key metric.
4. Select **Adds to Baskets** as the key metric.
5. Configure the test to:
    
    - Expire along with sessions.
    - Run for 1 week.
    - Be available for the `Everyone` customer group.
6. Create four segments plus a control group and allocate 20% of the participants to each.
7. Go to **Online Marketing** | **Content Slots**.
8. Under Global Slots, create four slot configurations, one for each order of recommended products and background image.
    
       
    | ID | Content Type | Content | Template |
    | --- | --- | --- | --- |
    | bgImage-1 | Content Asset | Image-1 | slots/product/verticalcarousel.isml |
    | bgImage-2 | Content Asset | Image-1 | slots/product/verticalcarousel.isml |
    | Product-1 | Product | product1, product2, product3, product4 | slots/product/verticalcarousel.isml |
    | Product-2 | Product | product1, product2, product3, product4 | slots/product/verticalcarousel.isml |
9. Return to the test and assign the corresponding slot configurations to the test segments. Each segment has the image applying first and the product order second.
    
      
    | Segment ID | Content Asset Slot | Product Slot |
    | --- | --- | --- |
    | recommended-products-1 | bgImage-1 | Product-1 |
    | recommended-products-2 | bgImage-1 | Product-2 |
    | recommended-products-3 | bgImage-2 | Product-1 |
    | recommended-products-4 | bgImage-2 | Product-2 |
10. Replicate the test to production and run it for the week.
    
    - One recommended order of products leads to more Adds to Baskets than the other.
    - One background image leads to more Adds to Baskets than the other.

The combination of the better product order and background image shows a statistically significant difference in Adds to Baskets over the other combinations. Use the most effective combination for an upcoming change to the homepage slot content.