Theme (Shopify)
3 min
Theme campaigns allow you to A/B test between your store’s default theme and any other theme available in your Shopify store. This can be useful for testing a new theme or improvements made to a duplicated version of your main theme.
How it works
- Creating the campaign – You select one or more variation themes from your available Shopify themes. For experiments, the default (currently published) theme is always used as the control.
- Activating the campaign – Once activated, Personizely automatically redirects visitors to a Shopify theme preview link for the assigned variation theme.
- Redirection
- The redirect occurs immediately as the visitor lands on your site to avoid any visual flash or inconsistency.
- Query parameters like preview_theme_id are automatically removed from the URL after redirection to make the experience seamless and transparent to the visitor.
- No flicker experience – To ensure a seamless redirect and eliminate flicker, the Personizely script should be loaded in synchronous mode (non-async), allowing it to run as early as possible.
Configuration
For each variation, you can select the theme assigned to it. A theme can be assigned only once per campaign.
Requirements
- The variation themes must exist in your Shopify account.
- The Personizely script must be installed synchronously for the redirect to occur instantly.
This campaign type is only available for Shopify users now.