Notebook sketch of a shopping bag whose order flows into a results chart with a tick.

Feature

Shopify

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.

The AB Split Test custom pixel connected in Shopify Customer events

Why test Shopify with AB Split Test?

Bar chart with a dollar coin

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.

Target with a tick

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.

Checklist

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

Code brackets on a scrap of paper

The snippet runs your tests

Paste the AB Split Test snippet into your theme. It shows each visitor their variation and remembers it.

Pixel square with radiating lines

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.

Bar chart with a tick

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

Tag label

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.

Stack of coins

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.

Padlock

Respects customer privacy

The pixel follows your Shopify customer privacy settings. If a customer declines analytics, their order is not counted.

Set it up

  1. In AB Split Test Cloud, add a site with your store domain, for example yourstore.com. Add yourstore.myshopify.com too if checkout runs there.
  2. In Shopify, go to Online Store > Themes > Edit code, open layout/theme.liquid and paste the snippet right after <head>.
  3. 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.
  4. 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.

Analyze user behavior to find optimizations that click.

Unlimited Tests, Variations & Goals

Create as many tests as you like with as many test variations as you want.

Targeting & Segmentation

Choose who you test on based on their user role, device size and more.

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.

No remote cookies or servers

We only use local cookies & anonymously identify your users.

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.

White Label

Remove all AB Split Test branding and present the interface as your own.

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.

Agency Hub

Connect multiple sites and manage all tests and heatmaps from one central Agency Hub.

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.