πŸ“‘How to Set Up a Template Test

Template testing allows you to split-test Shopify templates to determine which is the best for conversion, revenue, and profit. Take a look at Shopify's documentation on templates here!

Make sure that the Intelligems template snippet is installed in your theme. If you are using the Intelligems Theme Block, it will automatically be added. If you are using the Intelligems javascript snippet, more information can be found here. This snippet must be included in your theme for template tests to work properly.

Step 1: Create a new test

Navigate to the A/B Tests tab in the menu on the left-hand side of the Intelligems app. Once there, click Create New Test above the experiments table. Select Content Test , then Template Test, then Create Test.

Step 2: Create your test groups

Create a test group for each template variation you want to include in the test. Fill in the Test Name and Test Description for the experiment you are creating. This information is all internal; the more detail you include here the better. Tests can be live for several weeks, and your future self will thank you for including the details here.

You can add new groups to include in the test by clicking on the β€˜+’ button. Name the groups for the experiment and use the slider to allocate what percentage of traffic will go to each group. Click β€˜Continue’ when you are done.

Step 3: Assign a template for each test group

Select a template for each test group. You can choose an existing template or duplicate the template selected for the control group by selecting Duplicate Control:

Please note that only templates chosen for your test groups will be tested. For example, if you choose product-template-a and product-template-b, only products assigned to those templates will be affected by the test.

A visitor will only be included in the test if they visit a page that includes a product assigned to product-template-a.

You can hover over each test group screenshot to view the following options:

  • Edit in Shopify: links to the test group template in your Shopify admin

  • Quick View: opens a snapshot with a desktop and mobile preview of the test group template

  • View in Browser: links to a preview of the template in a new tab

  • Template Name: opens edit mode for the test group template

If you have made changes to a selected template in Shopify, you can use the "refresh" button next to the test group name to refresh the screenshot shown.

Step 4: Set up targeting (optional)

If you'd like to include, exclude, or assign specific treatment to certain traffic for your test, you can use our targeting features. Check out this article for more information on configuring these options.

Step 5: Enable the Google Analytics integration (optional)

If you would like to create an audience for each test group in GA4, enable the integration here.

Last updated