Split Testing with WordPress and Cloudflare Edge Workers
AB Split Test now integrates with Cloudflare Workers. Your split test logic runs at the edge, before the page loads, with no URL changes and no flicker.
🆕 Cloudflare Workers Integration
The problem: Every WordPress split test has had the same weak point. Whether you use a redirect or a JavaScript swap, there is always a moment where something flickers, the URL changes, or the variation takes a beat to appear. Running ads to a page under test has always been awkward because of URL changes and redirect delays.
The solution: AB Split Test now pushes your test configuration to Cloudflare Workers. The split test decision happens at the network edge, before the page loads. Visitors land directly on their assigned variation. The URL does not change. Nothing flickers.
What this looks like in practice
Load the page. You get variation A or variation B. Load it again in incognito. You might get the other. The URL is identical both times. There is no redirect. There is no flicker. There is nothing to indicate a test is running.
That matters for ads. Facebook does not see a redirect. Google does not see a URL change. You can run paid traffic directly to the page you are testing and it works exactly as if no test were running at all.
How setup works
AB Split Test handles all of the Cloudflare configuration for you. You never need to touch the Cloudflare dashboard or write any Worker code. The plugin sends your test configuration to Cloudflare, creates the Worker, and sets up the routes automatically.
The Worker itself is a small piece of code that reads your test configuration and assigns the correct variation to each visitor at the edge. It runs on Cloudflare's network, which means the decision is made closer to your visitor than your server ever could be.
Open source and unlimited
The Cloudflare Workers component is completely open source. You can use it on as many websites as you manage.
Everything else stays the same
Results flow back into your normal AB Split Test reports. Conversions track the same way. Autocomplete still declares winners. Heatmaps and session replays still record as normal. The only difference is where the variation decision is made.
This is edge-speed split testing. Previously only available from enterprise platforms at enterprise prices. Now it is built into AB Split Test.
Is Cloudflare the only way to get flicker-free testing?
No. Every test mode in AB Split Test is already built to be flicker-free and equivalent to or better than industry standard. Cloudflare Workers is an extra layer on top, a roughly 20% speed improvement because the variation decision happens before the page even starts loading. It is the cherry on top, not the foundation.
If you are not on Cloudflare, your tests are still fast. This just makes them faster.
This feature is currently in beta. Paid customers get access first.