Docs

Create a Template test

Every step of the test wizard for a template test, with every option.

You can make the variant template in the wizard with Duplicate control, or have it ready in Shopify beforehand: see Prepare variant templates.

Click New test on the A/B Tests page. The wizard has these steps, shown at the top: Test type, Variants, Resources, Targeting, Goal, Details and Launch. Next moves you forward, and you can click any step you've completed to go back to it.

1. Test type

Under Select your test type, choose Template Test: different theme templates on the same page address. Click Next.

2. Variants

  1. Pick the control

    Under Select control template, click Select template. The Select a template window groups your theme's templates by kind of page: Homepage, Pages, Products, Collections, Blog, Cart, Collection list, Search and Articles. Choose the template your pages use today.

  2. Create or pick the variant

    Under Choose how to create your variant:

    • Duplicate control copies the control template in your live theme and adds the copy as the variant. Open the variant card's menu and click Edit in theme editor to make your change in Shopify.
    • Select existing lets you choose a template you prepared in Shopify.
  3. Add more variants (optional)

    Click Add variant to compare more versions. A test can have up to 5 variants next to the control. After that, the card shows "Limit reached — A test compares the control with up to 5 variants."

Each variant card has a menu with:

  • Edit in theme editor: opens that template in Shopify.
  • Preview: opens a page with this template.
  • Refresh screenshot: updates the preview image after you've changed the template.
  • Rename: changes the name ab.one shows for the template.
  • Remove: takes the variant out of the test.

If the templates don't fit together, ab.one tells you why. Rules ab.one checks lists the messages.

3. Resources

Choose which pages take part. For a product template, for example:

  • All products that use the control template, or
  • specific products: search and pick them one by one.

Templates that belong to a single page, like the home page or the cart, skip this choice: "The test will run on it automatically."

4. Targeting

Under Traffic & Targeting, decide how visitors are split and who takes part. Traffic split and targeting explains every option. For most tests, leave the defaults: an even split, All devices, All visitors, no audiences.

5. Goal

Under Which primary metric should determine the winner?, choose what counts as a win: Conversion rate, Revenue per visitor, Average order value, Add-to-cart rate or Clickthrough rate. ab.one tracks all of them anyway. Goals and metrics helps you choose.

6. Details

Under Name your test, enter a name (required), for example "PDP hero image vs. video". Add a Hypothesis (optional): what you changed, and why you expect it to win. Write a good hypothesis has a template.

7. Launch

Under How would you like to proceed?, choose Launch now, Schedule or Save as draft, and set when the test should stop. Launch, schedule or save as draft covers this step.

Closing the wizard early

If you close the wizard before launching, ab.one asks "Leave without launching?". You can save what you have as a draft or discard it. Drafts are on the Draft tab of the A/B Tests page, ready to finish later.

Before you launch

Check both versions on a phone and a computer with the debug pane: Preview and QA a test.