Server-side A/B testing for WordPress that eliminates flicker.
Most A/B testing tools decide which variant to show in the browser, using JavaScript that runs after the page loads. This causes the “flash of original content” (FOOC): the visitor briefly sees the original version before the variant replaces it. It looks broken and it skews results.
This plugin takes a different approach. It decides the variant in PHP, on the server, before the HTML is sent to the browser, and exposes the decision to your theme so the correct variant is rendered from the first byte. The visitor only ever sees the assigned variant, with no flash and no layout shift.
The plugin has two modes, chosen in the settings:
Flagship is the default because it adds targeting, segmentation and centralized reporting that a local engine cannot provide. Local mode is fully functional on its own.
This plugin decides and exposes the variant; your theme renders it. The decision is made available to the page as window.abTestData, and your theme (or a small snippet) reads it to render the assigned variant server-side via the abtf_runner() helper. This is the standard server-side pattern used by tools like LaunchDarkly, Optimizely and Split: the plugin decides, your code applies. A minimal integration example is provided in the FAQ.
This plugin can connect to AB Tasty Flagship, a third-party experimentation service, only when the Decision Engine is set to “Flagship” in the plugin settings. In “Local” mode the plugin makes no external requests and no data leaves your site.
When Flagship mode is active, the plugin contacts the following AB Tasty endpoints:
1. Flagship Decision API – https://decision.flagship.io
https://decision.flagship.io/v2/activate (visitor ID and the variation identifiers) the first time a visitor is assigned, so the visitor is counted in Flagship’s reporting.2. Flagship Collect API – https://events.flagship.io
The visitor ID is either a fingerprint hash (SHA-256 of IP + User-Agent + Accept-Language) or an ID provided by your analytics tool, depending on the configured Visitor ID Provider.
Use of AB Tasty Flagship is subject to AB Tasty’s terms and privacy policy: