Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Getting started

Lesson 3 — Create an experiment

In this lesson, you will test if showing an Estimated Delivery Date in the cart boosts conversion.

Create a Cart page challenger

We’ll copy the cart page to create a cart page challenger (cart-copy).

  1. In your project root (seat-xx), select the checkbox for the cart document to display the context menu.
  2. Select Copy from the contextual menu, then select Paste. This creates a challenger page called cart-copy.
  3. Open cart-copy and preview it.

Create a Cart page challenger

Create a Cart page challenger

Enable an Estimated Delivery Date

For the cart page challenger (/cart-copy), we will enable the Estimated Delivery Date feature.

  1. In the metadata block, find the Show Estimated Delivery property (currently set to false).
  2. Change it to true.
  3. Click the Action button (paper plane icon), select Preview.
  4. Within the site preview, navigate to Phones and add an Apple iPhone 13 Pro to your cart. Select color and memory options to enable the Add to Cart button.
  5. View your cart, then change the cart preview URL from /cart to /cart-copy.
  6. You should now see the Estimated Delivery Date displayed in your cart.

Enable Estimated Delivery Date

Enable Estimated Delivery Date

Add the challenger to an experiment

We’ll add the experiment to the cart page, where we will create an A/B test to show 50% of visitors the normal cart page and 50% the cart-copy challenger page.

  1. Open AEM Sidekick while previewing the /cart page: https://main—seat-xx—adobe-summit-l320.aem.page/cart (replacing xx with your seat number).
  2. In the AEM sidekick menu, click Experimentation.
  3. Create a new experiment with these parameters:
    • Name: Cart with Estimated Delivery Date
    • Type: A/B test | Goal: Overall conversion
    • Control: Pre-populated with the /cart page URL
    • variant-1 (challenger): https://main--seat-xx--adobe-summit-l320.aem.page/cart-copy
    • Start date: Today | End date: Today + 2 weeks

Publish the challenger

Publish the challenger

Run the Experiment

  1. Publish the experiment. Now, 50% of visitors see the Estimated Delivery Date in their cart while 50% see the normal cart.
  2. In 2 weeks, you can return to the cart page experiement and review the results from the Experimentation panel.