Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to setup split test?

I want to create a way to test different layouts on a page to see which get more conversions.

For example. If I have 2 versions of a page and I send 50% to page A and 50% to page B and see which one converts more sales.

So I am thinking maybe use .htaccess to rewrite half to page A and the other half to page B.

But how can I do that with .htaccess is there a way? do I need to use PHP instead to do this?

Also if there is a better way to do this, or any cautions I should be aware of, please let me know.

like image 945
JD Isaacks Avatar asked Aug 24 '26 00:08

JD Isaacks


1 Answers

Lots of ways to deal with it on your own code. If however you're already using Google Analytics and don't care to use javascript for the test, spare yourself a lot of trouble and look at http://www.google.com/websiteoptimizer/index.html

Update (Reconfine): Google website optimizer no longer exists, this has been replaced with "Google Analytics content experiments" https://developers.google.com/analytics/devguides/platform/experiments-overview

like image 56
Wrikken Avatar answered Aug 26 '26 12:08

Wrikken



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!