anthonyxiques
10/28/2015 - 3:44 PM

randomize.js

<script>
$(document).ready(function(){
  var randomnumber = Math.floor(Math.random() * 5) + 1;

if (randomnumber == 1) 
  window.location.replace("http://mysite.com/page-1");
else if (randomnumber == 2)
  window.location.replace("http://mysite.com/page-2");
else if (randomnumber == 3)
  window.location.replace("http://mysite.com/page-3");
else if (randomnumber == 4)
  window.location.replace("http://mysite.com/page-4");
else if (randomnumber == 5)
  window.location.replace("http://mysite.com/page-5");
});
</script>