CustomFit.ai โ€” Website personalization, A/B testing and CRO for Shopify and D2C
Product
Features
โœฑ
Website Personalization
Adapt to each visitor's behavior & intent
โง–
A/B & Multivariate Testing
Rigorous experimentation
โœจ
AI CopilotNEW
Personalize with a prompt
๐Ÿค–
AI WingmanNEW
Auto-optimize toward winners
๐ŸŽฏ
AI Conversion OptimizerNEW
GPT-grade test ideas
โœŽ
No-Code Visual Editor
Drag-and-drop edit any element
โ–ฆ
Product Recommendations
Personalized recs that lift AOV
โš‘
Feature Flags
Ship safely with kill-switches
โ—ง
Chrome Extension
Edit your store in the browser
โง‰
Shopify, WooCommerce & more
All platform integrations
View all features โ†’
Use Cases
$
Price A/B Testing
Test price points to maximize revenue
โ–ฆ
Theme A/B Testing
Compare whole layouts & designs
๐Ÿ—‚
Template A/B Testing
Test whole PDP/PLP templates
๐Ÿท
Discount A/B Testing
Find the offer that converts
๐Ÿšš
Shipping A/B Testing
Thresholds, speed & copy
โœ
Content A/B Testing
Copy, images & reviews
๐Ÿ’ณ
Checkout Gateway A/B
Payments & one-click
โŒ–
Geo-Based Personalization
Per-location content & offers
โšก
Buyer-Intent Nudges
Exit-intent & retargeting
โ†”
Split-URL / Redirection
Full-page redirect tests
View all use cases โ†’
Solutions & Guides
โคข
Conversion Rate Optimization
The complete CRO guide
โง–
A/B Testing Software
Buyer's guide for D2C
๐Ÿ›’
Cart Abandonment Recovery
Win back lost carts
๐Ÿ“ฐ
Landing Page Optimization
Convert more paid traffic
S
Shopify A/B Testing
Test your store, no code
S
Shopify Personalization
Tailor the store per shopper
โ—”
First-Time Visitor Offers
Convert new shoppers with trust & offers
โ˜…
Repeat-Customer Experiences
Reward and re-engage loyal buyers
โ—Ž
Campaign-Matched Pages
Match the landing page to the ad
โŒ–
Location-Based Experiences
Currency, language & regional offers
Explore CRO โ†’
Customer stories
GIVA
+32%
conversion via personalized recs
GIVA
Mamaearth
+18%
revenue lift from PDP A/B tests
ME
The Sleep Company
+24%
AOV from product recommendations
TSC
Read customer stories โ†’
Integrations
SWsfGA+15
โœฆ
Not sure where to start?
Let AI Copilot pick your first tests

โ€œWe wake up to evidence-backed tests ready to deploy โ€” not a backlog of maybe ideas.โ€

AN
Anirudh S.
Growth ยท Chargebee
โ˜…โ˜…โ˜…โ˜…โ˜…4.8on G2 ยท 2,400+ brands
Talk to our team โ†’
Widgets
Integrations
Ecommerce & Checkout
S
Shopify
SL
Shopline
SZ
Shoplazza
GK
GoKwik
SF
ShopFlo
RP
Razorpay Magic Checkout
BR
Breeze
SR
Shiprocket
View all integrations โ†’
Analytics & Behavior
GA
Google Analytics 4
MC
Microsoft Clarity
HJ
Hotjar
MX
Mixpanel
AM
Amplitude
HP
Heap
AA
Adobe Analytics
SG
Segment (CDP)
View all integrations โ†’
Engagement, CRM & More
KL
Klaviyo
MO
MoEngage
CT
CleverTap
WE
WebEngage
HS
HubSpot
SF
Salesforce
SL
Slack
M
Meta Ads
View all integrations โ†’
CustomersPricing
Resources
CRO
โ–ค
Playbooks
Proven strategies to boost conversions
๐ŸŽฌ
Videos
Tutorials, demos & how-tos
๐ŸŽ™
Interviews
D2C leaders & marketing experts
โ–ถ
Webinars
Live deep dives & product sessions
Learn
โœŽ
Blog
Tips, experiments & best practices
๐Ÿ“•
Free E-Books
Mastering personalization
๐Ÿ“–
Conversion Glossary
Every CRO term, defined
โœฆAI CopilotNEWLog inBook a demo
Start free trial
Select your platform โ€” Install in 2 minsWe'll tailor the setup
โšก Risk-free 14-day trial ยท No credit card ยท Cancel anytime
S
Shopify
Install from Shopify App Store
โ€บ
W
WooCommerce
Install the WooCommerce plugin
โ€บ
B
BigCommerce
Install from BigCommerce App Marketplace
โ€บ
SL
Shopline
Install from Shopline App Store
โ€บ
M
Salesforce / Magento
Install from the marketplace
โ€บ
SZ
Shoplazza
Install from Shoplazza App Store
โ€บ
WP
WordPress / Webflow
Install plugin or paste the script
โ€บ
โ—ง
Others
Custom-built on React, Next.js, etc.
โ€บ
Tip: pick your platform โ€” we handle the restBook a demo โ†’
Product
Website PersonalizationA/B & Multivariate TestingAI CopilotAI WingmanAI Conversion OptimizerNo-Code Visual EditorProduct RecommendationsFeature FlagsView all features โ†’
Use Cases
Price A/B TestingTheme A/B TestingTemplate A/B TestingDiscount A/B TestingShipping A/B TestingContent A/B TestingCheckout Gateway A/BGeo-Based PersonalizationBuyer-Intent NudgesSplit-URL / Redirection
Solutions & Guides
Conversion Rate OptimizationA/B Testing SoftwareCart Abandonment RecoveryLanding Page OptimizationShopify A/B TestingShopify Personalization
Explore
WidgetsIntegrationsCustomersPricing
Resources
BlogPlaybooksVideosWebinarsInterviewsE-BooksConversion Glossary
Platforms
ShopifyShoplineShoplazzaChrome ExtensionAll integrations
Start free trialBook a demo
Homeโ€บBlogโ€บHow to A/B Test Shopify Themes: A Step-by-Step Guide

How to A/B Test Shopify Themes: A Step-by-Step Guide

Learn how to A/B test Shopify themes to boost conversions and optimize user experience. This step-by-step guide walks you through setting up theme split tests using CustomFit.ai. Start testing smarter today!

SJSapna Johar7 min read
How to A/B Test Shopify Themes: A Step-by-Step Guide

From the conversion glossary

Concepts referenced in this article, defined.

Definition
What Is Bounce Rate? Definition & Guide
Definition
What Is Experiment? Definition, Formula & Guide
Definition
What Is Segmentation? Definition & Guide
Definition
What Is Significance? Definition, Formula & Guide
Definition
What Is Statistical Significance? Definition & Guide
Try CustomFit.ai

Run A/B tests and personalize your store without code. 14-day free trial, no credit card.

Start free trial โ†’
Share
XLinkedInEmail

Start lifting conversions today.

Run rigorous A/B tests and personalize every visit on Shopify or any storefront โ€” no engineers required.

Start free trialBook a demo

Built for every D2C category

๐Ÿงด
Skincare
๐Ÿ’„
Beauty
๐ŸŒฟ
Wellness
โ˜•
F&B
๐Ÿ‘Ÿ
Apparel
๐Ÿ’
Jewelry
๐Ÿ›‹๏ธ
Home
๐Ÿผ
Baby
Live ยท Right now
Mamaearth โ€” free-shipping band +12.4% AOVGIVA โ€” festive collection page +34% revenueBellavita โ€” PDP CTA test +27.4% CVRKapiva โ€” Quiz-driven recs +9.48% CTRThe Sleep Co โ€” landing personalized 2ร— capturesPlum โ€” Returning shopper swap +18.2% CVRMamaearth โ€” free-shipping band +12.4% AOVGIVA โ€” festive collection page +34% revenueBellavita โ€” PDP CTA test +27.4% CVRKapiva โ€” Quiz-driven recs +9.48% CTRThe Sleep Co โ€” landing personalized 2ร— capturesPlum โ€” Returning shopper swap +18.2% CVR
Get in touch

Tell us about your store.

We reply within an hour during business hours. No sales pitch, no spam โ€” just answers from someone who's seen 2,400+ D2C stores.

โœ“ Reply within 1 hourโœ“ No spam, everโœ“ Free demo & setup help
โœ“ Thanks! We'll be in touch shortly.
CustomFit.ai

The all-in-one website personalization, A/B testing & CRO platform for high-growth D2C brands. Made by marketers, fueled by coffee.

in๐•โ—Žโ–ถf

Product

  • Features
  • A/B Testing
  • Personalization
  • AI Copilot
  • AI Wingman
  • AI Conversion Optimizer
  • Feature Flags
  • Widgets
  • Integrations
  • ROI Calculator

Platforms

  • Shopify
  • Shopline
  • Shoplazza
  • Salesforce
  • Chrome Extension
  • All Integrations

Resources

  • Blog
  • Playbooks
  • Webinars
  • GrowthFit Interviews
  • Free E-Books
  • Conversion Glossary
  • Case Studies

Compare

  • vs VWO
  • vs Optimizely
  • vs Google Optimize
  • vs Mutiny
  • vs Intelligems
  • vs Shoplift
  • vs AB Tasty
  • vs Convert
  • vs Kameleoon

Company

  • About Us
  • Partners
  • Recognition
  • Contact
  • Privacy Policy
  • Terms & Conditions
ยฉ 2026 CustomFit.ai ยท Valley Monks Pvt Ltd ยท Made by marketers, fueled by coffee, and obsessed with conversions.
SOC 2 Type II ยท GDPR ยท CCPA ยท ISO 27001

Even small design changes can affect customer behaviour in a Shopify store. But how do you know whether a new theme or layout will improve conversions? A/B testing (also known as split testing) answers this by comparing two versions of your site and measuring which one performs better.

Testing different themes is one of the more direct ways to run A/B tests on Shopify. It lets you evaluate new designs, layouts, and experiences without making permanent changes right away. This guide walks through how to set up A/B testing for Shopify themes using an approach that integrates directly into your store.

Prefer to watch instead of read? Here's the entire setup in under 2 minutes, no developer needed:

For the quick version, see How to do a Shopify theme A/B test in under 2 minutes.

Why A/B test Shopify themes?

Your theme defines the look, feel, and functionality of your Shopify store. Testing a new theme before fully switching to it means you won't accidentally decrease conversions, slow down site speed, or introduce navigation problems.

A/B testing a Shopify theme lets you:

  1. Test new layouts without committing to them permanently.
  2. Identify which design elements affect conversion rates.
  3. Optimise for user experience without guesswork.
  4. Experiment with different aesthetics for different customer segments.

Rather than rolling out a full redesign all at once, A/B testing gives you data to back each decision and keeps the risk manageable.

How to A/B test Shopify themes: a step-by-step guide

Step 1: Install an A/B testing app

To run an A/B test on Shopify, you need an app that splits traffic between different themes. The CustomFit.ai app is one option that handles A/B testing for Shopify themes while keeping the store running normally.

Once the app is installed, you'll be able to:

  1. Add a code snippet to both themes.
  2. Set up traffic distribution rules.
  3. Track performance data.

Step 2: Duplicate your Shopify theme

To A/B test a theme, you need two different versions of your store:

Current theme: Your existing Shopify theme (the control version).

New theme: The theme you want to test (the variant).

To create a copy of your current theme:

  1. Go to Online Store > Themes in your Shopify admin.
  2. Click Actions > Duplicate to create an identical version of your theme.
  3. Apply any design changes you want to test to the duplicated version.

Step 3: Add the CustomFit snippet to both themes

For Shopify to correctly split traffic between the two themes, a small JavaScript snippet needs to be added to both themes.

To do this:

  1. Copy the CustomFit snippet from your dashboard.
  2. Go to Online Store > Themes and click Edit Code on both themes.
  3. Find the theme liquid file under the Layout folder.
  4. Paste the snippet before the closing </head> tag in both themes.
  5. Save the changes.

This lets CustomFit track and distribute visitors between both themes without affecting page speed.

Step 4: Get theme IDs and configure the test

Each Shopify theme has a unique theme ID, which tells the app where to send each visitor during the test.

To find your theme ID:

  1. Click Customise on your theme.
  2. Locate and copy the theme ID from the URL.
  3. Store this ID for setting up the test.

Then go to the CustomFit dashboard to configure the test:

  1. Create a new A/B testing experiment.
  2. Choose redirection-based testing to switch users between the themes.
  3. Set up a rule to redirect half of the visitors to the new theme.

Step 5: Set audience segmentation (optional)

You can split-test your theme across all visitors or only on specific groups. Some segmentation options include:

  1. Users from a particular country or region.
  2. Traffic from a specific ad campaign.
  3. New visitors vs. returning customers.
  4. Mobile vs. desktop users.

For example, if you're testing a new theme layout, you might show it only to visitors from paid campaigns to see how it compares to organic traffic.

Step 6: Set test goals and metrics

A/B testing is only useful if you can measure the impact of changes. In Shopify, you can track goals such as:

  1. Add to Cart Rate: Do more users add products to their carts?
  2. Checkout Completion Rate: Do users complete their purchases?
  3. Page Engagement: How long do visitors stay on each theme?
  4. Bounce Rate: Are people leaving the site quickly?

You can track these directly within CustomFit.ai or by connecting to Google Analytics 4 (GA4) for more detailed reporting.

Step 7: Run the A/B test and monitor results

Once your test is live, let it run for at least 1-2 weeks to collect enough data. During that period:

  1. Check performance in real-time. Monitor Shopify's analytics to see how visitors interact with each theme.
  2. Avoid making mid-test changes. Adjustments during the test can compromise accuracy.
  3. Look for clear patterns. Once the test reaches statistical significance, you'll know which theme performs better.

When you're confident in the results, switch to the winning theme permanently or keep refining elements to improve performance.

Key takeaways from theme A/B testing on Shopify

  1. A/B testing themes helps validate changes before making permanent updates.
  2. The right A/B testing tool, such as CustomFit.ai, makes setting up tests straightforward.
  3. Adding the testing snippet to both themes ensures accurate tracking.
  4. Segmenting traffic allows for more targeted testing.
  5. Metrics like conversion rate and bounce rate determine success.

By following this process, you can try different Shopify themes with confidence and make sure your design choices actually move the needle on sales and engagement.

FAQs: A/B testing Shopify themes

Q1. What is A/B testing for Shopify themes?

A/B testing for Shopify themes lets you compare two versions of your store's design and measure which one performs better based on real visitor interactions.

Q2. How do I set up an A/B test for my Shopify theme?

You need to:

  1. Duplicate your current theme and apply the changes you want to test.
  2. Install CustomFit.ai or another A/B testing app to split traffic.
  3. Add a tracking snippet to both themes.
  4. Define traffic distribution and track results.

Q3. Can I A/B test themes without affecting my store?

Yes. Visitors will only see one version of the theme at a time, so the test runs without disrupting sales.

Q4. What metrics should I track during a Shopify theme A/B test?

Track conversions, add-to-cart rates, checkout completions, bounce rates, and engagement metrics to see how each theme affects customer behaviour.

Q5. How long should a theme A/B test run?

For reliable data, let the test run for at least 1-2 weeks or until you reach statistical significance.

Final thoughts

A/B testing Shopify themes gives you a way to make informed design decisions based on actual results rather than assumptions. Whether you're testing a small tweak or a full theme change, having the right tooling makes the process manageable.

Try CustomFit.ai for Shopify to set up A/B tests and measure your store's performance with real customer data.