WooCommerce A/B testing
Because WooCommerce runs on your own WordPress install, you can test the whole funnel: product pages, cart and checkout. Measure revenue per visitor, not just clicks.
Free plan · 1,000 visitors / month · no card
Set up in 3 steps
- 01Add the snippet to your WordPress header (any header scripts plugin works).
- 02On the order-received page, call ABSplits.revenue(order_total) to record revenue.
- 03Create a test with Revenue as the goal to compare revenue per visitor.
Order received page (functions.php)
add_action('woocommerce_thankyou', function ($order_id) {
$total = wc_get_order($order_id)->get_total();
echo "<script>window.ABSplits && ABSplits.revenue(" . (float) $total . ");</script>";
});Your real site key is shown in the dashboard after you add your site.
What to test on WooCommerce
All 56 examples →Make guest checkout the default
Show Apple Pay and Google Pay first
Put trust signals beside the pay button
Show progress to free shipping
Show star rating and review count by the buy button
Offer a 'frequently bought together' bundle
AI writes variants
Choose a headline or button and AI reads your real page to write 3–5 alternatives, each with its reasoning.
Honest stats
Chance to beat the original, 95% intervals, and a plain keep-running or stop verdict. No p-value guesswork.
Results in GA4
Every tested visitor is tagged in GA4, so any report can be split by variant.
Questions
Can I test the WooCommerce checkout?+
Yes. Unlike hosted platforms, WooCommerce checkout runs on your site, so the snippet can test checkout copy, trust signals and layout.
Can I see results in Google Analytics 4?+
Yes. Every visitor in a test sends an absplits_exposure event to GA4 with the test and variant name, so you can break down any GA4 report by variant. AB Splits also shows its own Bayesian results.
Will A/B testing hurt my SEO?+
No, not when it's done properly. AB Splits shows each human visitor one version, and search bots and crawlers always see your original page. Tests on separate URLs keep your canonical tags, so ranking signals stay on the original page. End tests when you have a result and ship the winner.
A/B testing on other platforms