How to A/B test two or more surveys

Oftentimes you'd like to  do a little A/B testing and run two or more studies side by side and direct your participants to a random study.

Here is a cheeky javascript hack for those of you who are simply linking to your study from your own website with a link you can control.

All you need to do is:
1. Copy and paste the snippet below into your page where you'd like a link to appear
2. Change the study URLs to your own, and add more to the comma separated list in the square brackets if you'd like to.

For more advanced customisation you probably want to speak nicely to a developer near you.

Here it is:

var studies=new Array()
function optimalWorkshopStudy(){
<a href="javascript:optimalWorkshopStudy()" title="Thank you for your help">Take the survey now!</a>

Ask Us a Question

If you couldn't find the information your were looking for within our knowledge base, email your question to