Adding a parameter to Control
How do I force a parameter into the Control URL string? I know if I use a redirect that uses the Targeted URL, it will create an infinite redirect loop, right?
Targeted URL: http://www.example.com (simple match)
Variation #1: redirects to http://www.example.com/var1?parameter=var1
Variation #2: redirects to http://www.example.com/var2?parameter=var2
We want to test all traffic to http://www.example.com but need to force ¶meter=control to the url so that the correct phone number is dynamically pulled. I understand that if I redirected the Control to http://www.example.com/?parameter=control that it will create an infinite redirect loop since the redirect url matches.
I would also like to include all the live query parameters that came in to this experiment.
Solved! Go to Solution.
To get around this scenario, I recommend adding a negative audience condition that says exclude visitors with the query parameter parameter=control. This will avoid the infinite loop and you'll be able to run your experiment as described above.
To keep all the live query string parameters, just make sure you keep this checkbox marked when you are creating the redirect in your experiment.
Let me know if you need any help setting this up!