Skip to content

Adding A/B Test Elements via Shopify Template Testing

There are two ways to test new content that isn’t on your page yet:

  1. In the visual editor with Add Block. Learn how it’s done.
  2. With a Shopify template test: duplicate an existing template, add the new content in the Shopify theme editor, and test it against the original. This article shows how.
  1. Open A/B testing from the left menu and click Shopify Templates.
  2. Under Choose Variant A, pick a page type (for example Product Page Templates) and click Select Template on the template you want to start from. Your default template is marked with a star.
  3. For Variant B, click Choose from existing.
  4. Find the template you picked for Variant A and click Test a duplicate. Give the copy a name and click Duplicate.
  5. Click Edit template on Shopify to open the copy in the Shopify theme editor.
  6. Add your new sections or blocks to the copy and save it in Shopify. Use View template in my store to check how it looks.
  7. Back in Dialogue, set the Traffic Allocation for each variant, then open Set Audience and Set Test Parameters to choose who sees the test and your winning metric.
  8. Click Start A/B test.

Your original template stays untouched. Only shoppers in the test group see the copy with your new content.

Learn more about Shopify Template Testing.

Need help? Open the chat in your Dialogue dashboard and ask Dia, or ask to talk to a person.