I was looking for a plugin that can help with a split test for a product I am working on. However when I run this plugin it keeps going in an endless loop.
It sits there and switches between urls about every second or two and am not sure as to whats going on and what I can do to fix it.
If anyone can tell me whats going wrong I'd greatly appreciate it.
I am only going to post the main function of the code as the rest is rather irrelevant.