Is my redirect test working correctly?
I have set up a redirect test which should redirect half the traffic to https://www.distilled.net/u/ to https://www.distilled.net/u/home/. The redirect seems to work fine in most cases, however every so often, it fails to trigger. I've opened an incognito window and made sure that I get put in the redirect bucket, yet then if I open say 20 tabs (in the same incognito environment) and go to https://www.distilled.net/u/ on each, a handful don't perform the redirection.
I believe I've set up optimizely correctly (it's the first tag after the body). Is this errant behaviour? How can I get it to consistently redirect?
My hunch is that you're accidentally triggering a security measure we have built in to our redirect experiments. In order to prevent redirect loops, there is a five second period after a redirect during which no further redirects cannot occur. So if you are trying to trigger redirects in close succession, this may be why you occasionally cannot get a redirect to work. You can test this theory out by making sure you leave five seconds between each redirect attempt.
If you're worried that something else might be the cause, I'm more than happy to take a furhter look for you. In that case, just let me know the experiment ID and I will investigate!