← All releases

wp-content/plugins/bellwether/bellwether.php

Bellwether — beta

Split-test a block against another, with the maths done honestly and no third-party script.

== Description ==

Client-side A/B testing means a flash of the wrong variant, a third party watching every visitor, and a script that blocks rendering to decide which headline to show. Bellwether assigns variants in PHP before the page is built, and stores results in your own table.

It reports a confidence interval rather than declaring a winner. Most tests on most sites never reach significance, and a tool that says “B wins” after 40 conversions is lying to you politely.

Assignment is a hash of a first-party identifier and the test ID, so a returning visitor sees the same variant without a tracking cookie following them anywhere else.

== Screenshots ==

Numbered the way they ship in /assets/. Click any one to see it full width.

== Installation ==

  • Install and activate the plugin.
  • Select a block in the editor, choose Add variant, and edit the second version.
  • Define what counts as a conversion — a page view, a click, or a form submission.

Full-page caching needs a vary rule on the assignment cookie. The readme has the configuration for four caches.

== Frequently asked questions ==

How long until I get an answer?

It tells you, based on your current traffic and effect size. Frequently the answer is “longer than this test is worth”.

Does data leave the site?

No. There is no external endpoint in the codebase.

== Changelog ==

= 0.9.0 =

  • Sample-size estimate shown before a test starts, so a test that cannot conclude is visible as such.
  • Assignment moved from a cookie to a first-party hash.

= 1.0.0 =

  • First release.