Split test your Shopify store and see which version earns more.
AB Split Test Cloud runs tests on any Shopify theme with one snippet. A custom pixel sends every completed order back to your test, with the amount paid, so you can pick winners on revenue instead of clicks.
Why test Shopify with AB Split Test?
Revenue, not just clicks
Each completed order sends its total to your test, so the winner is the variation that earns the most per visitor.
Credited to the right variation
The order goes to the variation that visitor saw on your storefront, even though checkout runs on a separate Shopify page.
Each order counted once
Reloading the order status page does not count the order again, and one visitor converts a test once.
How it works
The snippet runs your tests
Paste the AB Split Test snippet into your theme. It shows each visitor their variation and remembers it.
A custom pixel reports each order
Shopify checkout does not run theme code. A custom pixel in Customer events listens for completed checkouts and sends the order to AB Split Test Cloud.
Results judged on revenue
Turn on order value for the test and the results show orders, revenue and revenue per visitor for each variation.
What gets counted
After discounts
The value is what the customer paid: discount codes taken off, shipping and tax included. Switch one setting to count the subtotal instead.
One currency, or all of them
Orders are counted in the currency the customer paid. Selling in several currencies? Count one currency only, so revenue compares like with like.
Respects customer privacy
The pixel follows your Shopify customer privacy settings. If a customer declines analytics, their order is not counted.
Set it up
- In AB Split Test Cloud, add a site with your store domain, for example
yourstore.com. Addyourstore.myshopify.comtoo if checkout runs there. - In Shopify, go to Online Store > Themes > Edit code, open
layout/theme.liquidand paste the snippet right after<head>. - Go to Settings > Customer events > Add custom pixel. Name it AB Split Test, paste the pixel code from your site’s Install page, then Save and Connect.
- Create a test with the conversion set to “Your code reports it (JavaScript)” and turn on order value.
Place a test order. It shows in the test results within a few minutes.
See why thousands of WordPress professionals choose AB Split Test.
Test anything in WordPress.
Blocks, pages, posts, page-builder elements, custom post types, templates, shortcodes, HTML, JavaScript, or CSS.
All of it works without workarounds.
The most conversion options
Page visits, clicks, form submits, purchases, active time, scroll depth, JavaScript events, conversion pixels, block or module triggers, and server-side PHP or AJAX actions. We currently support 11 conversion (goal) types.
Point-and-click testing
Click the element you want to improve, review the AI variations, make your edits, and start the test, all without a developer.
Blocks, Bricks, Beaver Builder,
Elementor, Breakdance and more
Deep integration with your page builder means you can test blocks, elements, sections, templates and layout parts without leaving your workflow.
Autocomplete
Calculates when enough data has been collected, then automatically shows the best variation to all. We do the Bayesian statistics calculations, so you don't have to.
Auto-optimize
A winning magic test builds its own next round. The winner becomes the control and AI writes new variations to beat it.
Privacy (GDPR) friendly
We do not store any user identifying data or utilize remote servers for customer data.
Cookie consent tools are respected, so no data transmitted or saved until accepted.
Unlimited Tests, Variations & Goals
Create as many tests as you like with as many test variations as you want.
Unlimited Page Views
Collect as much data as you need to make an informed decision without worrying about credits or usage limits.
Test inside templates, parts and block layouts
Whether you use Block Templates, Beaver Themer, Elementor Templates, Bricks, Breakdance or another theme builder, you can test headers, footers, sections and layout parts directly.
A.I assistant
Our Conversion Rate Optimization Agent scans your site to understand your business & tone, then creates tests for you.
Cache friendly
We prerender your test variations hidden, then use JavaScript to show the appropriate test variation.
You can use full page caches, object caches, pre-rendered cloudflare caches or whatever you like.
External conversions with fingerprint pixels.
Remote cookies no longer work reliably, so we use fingerprinting instead.
Paste our conversion script on your conversion pages, on any domain. The script connects test visitors to conversions, no matter where they end up.
Multiple conversions - subgoals
See how your tests affect other metrics, and analyze your funnel before you decide.
Order Value Optimization
WooCommerce, SureCart, Easy Digital Downloads, Memberpress and more. Optimize for revenue, not only clicks and views.
Analytics integrations
Tag users when they see a test and when they convert. Then you can view your funnel inside your analytics apps.
Dynamic Traffic Allocation: optimize traffic to the winning variation on the fly. Reduce visits to losing variations whilst maintaining significance.
Test Time Remaining
Estimates based on incoming data how long it will take for your test to reach statistical significance.
Webhooks
Send an HTTP POST whenever a test is created or completed, so your external systems stay in sync.
Link To Variation
Create your test, then generate direct links to each variation. You can also force specific visitors to view a particular variation.
Test Ideas
Plan and prioritize your split tests. Score each idea by Impact, Reach, Confidence and Effort and the highest scores rise to the top.
Continuous learning
Every finished test is recorded. AB Split Test finds why it won or lost and what to try next.
Session recordings
Watch real user sessions to see where visitors hit friction or get confused, which you'd never spot in the data alone.
API/MCP/CLI
Control your A/B tests from AI assistants, CI/CD pipelines, or custom applications, so testing fits into the workflow you already have.
Cross-Domain Split Testing
Register an external domain, generate a lightweight tracking script, and serve the correct test variation to visitors on Shopify, HubSpot, or any external platform. Conversion events sync back to your WordPress dashboard automatically.
Cloudflare Workers Integration
Run full-page split tests at the network edge. Variations are served under your original URL with no redirect, flicker, or URL change, so your ads and SEO are unaffected.
Split Test Server
Run split tests on any platform and still control the data. Full-page, code and point-and-click tests, heatmaps and session replays, all from one snippet. Your own visual website optimizer.
Auto-optimize
AB Split Test Cloud
A winning magic test builds its own next round. The winner becomes the control and AI writes new variations to beat it.
Split tests for sites that are not WordPress. Paste one script tag and let your AI agent run the tests. 100,000 MTUs free.
Auto-optimize
Shopify
A winning magic test builds its own next round. The winner becomes the control and AI writes new variations to beat it.
Test any Shopify theme with Cloud. A custom pixel sends each completed order, after discounts, to the variation the buyer saw.