Running a chi-square test on your WooCommerce A/B data
A plugin showing a green arrow is not proof that a variant won. This post walks through a 2×2 chi-square test in PHP: expected counts, degrees of freedom, the 3.84 cutoff at p=0.05, and the four assumptions that break the result.