Overview
Last updated
Was this helpful?
Last updated
Was this helpful?
Unlike template testing, which will allocate visitors to an A or B template experience when they encounter pages assigned to tested templates, theme tests will allocate visitors to an A or B experience the moment they encounter any page on your online store, regardless of which they are landing on.
Once a visitor is allocated to a theme test, all of the actions they perform throughout the customer journey will be tracked and attributed to the test. For more information on how Shoplift tracks conversions, see .
Step 1: Select your Original (A)
To create a theme test, create a new test draft, and select "Test a theme or global element" as your Original (A). This will open up the theme drawer, where you can view and select the themes loaded onto your store from your Theme Library.
By default, the theme drawer will present your live theme for selection as your Original (A), but you can also draft a theme test on an unpublished theme so you can prepare the test in advance and launch it when that theme is eventually published. To view the unpublished themes in your library, click the tab titled "Theme Library".
Step 2: Select your Variant (B)
Once you've selected your Original (A) theme, you can select your Variant (B) theme. Your Variant (B) theme can be any theme in your library. Simply select the theme to load it into your test draft. If your Variant (B) theme is already edited for testing, then you can move onto Step 4.
Once you've selected a Variant (B) theme from your library, you can make any edits you'd like to make for testing from within the Shopify Theme Editor. To do this, simply click "Edit in Shopify" from the test draft, and the Shopify Editor will open your Variant (B) theme so you can begin to make edits.
If you have more complex changes that require custom code, you or a developer can also open the theme files in the Code Editor in the Shopify Admin and make changes there.
Prior to launching your theme test, it is important to preview your changes in your browser so you can verify that everything in your Variant (B) theme looks and functions as expected.
To do this, click "View in browser" from the Test Draft page. This will open up a new tab that will provide you with a fully functioning preview of your Variant (B) theme. Interact with the elements you have made changes to for testing to ensure that all works as expected.
Step 6: Launch your theme test
If all looks good, then you are ready to launch your theme test. When you click "Launch test", your theme test will become active, and website visitors will begin to be allocated to your (A) or (B) variant depending on your test parameters.
It is important to end your theme tests in Shoplift prior to deleting any themes. Otherwise, your website visitors may be redirected to the deleted theme, which will present them with an error on your store.
For more information on how to create certain types of tests with the theme testing feature, like navigation tests or mini cart tests, check out our .
The last step to creating your test is to establish your test parameters, like your traffic allocation, test goal, device targeting, visitor targeting, and audience targeting. For more information on each of these, see .
Creating and deploying page builder pages while a theme test is active will pause your active theme test, since the template is not shared by both original and variant themes. For more information, see .