I have in one case 2 links and in other 3 links. Need to find out what is the best. My plan is split test them all. So I want make this:
- 50% -
document.write('link1');
- 50% -
document.write('link2');
So 50% visitors will see the first link and other 50% the second.
How can I do this in poor javasript?