How to A/B Test Pricing in WooCommerce

If your WooCommerce site gets significant traffic and conversions, A/B testing different pricing for products can be a great gather data on how a pricing change will impact overall sales.

You should be able to run an A/B test with any of the conversion testing platforms. We use convert.com, which has plans starting at $400/mo.

To set up the test, you’ll need to define the prices that will show when a specific cookie is set. Here’s an example plugin: https://gist.github.com/devinsays/210204bf939f9280f18411d9f7d9355f

In your A/B test variant, you’ll need to check if the pricing test cookie has already been set for your visitor. If not, you’ll need to set it. If the customer is on a page that has pricing information when the cookie is set, you’ll need to also refresh that browser page so that the new pricing will be loaded.

Object and page caching may be an issue if you’re testing pricing. You’ll want to make sure that visitors with the pricing test cookie set are excluded from caching.

Good luck out there!

Leave a Reply