Rich-text Reply

Force a variation in Optimizely X

ts 01-12-17
Accepted Solution

Force a variation in Optimizely X

With the client-side tool we would force ourselves into a variation using the test id and variation in the url params. Is there a way to do that with the new full-stack X tool? Ideally, it would be using a url param. I did see that there is a way to whitelist by user id, but that is not ideal when sending out the QA link to a list-serve. 

 

ts
Level 2

robertchan 01-13-17
 

Re: Force a variation in Optimizely X

You can try using Override Mode as documented in this article here: https://help.optimizely.com/QA_Campaigns_and_Experiments/QA%3A_Preview_tool_in_Optimizely_X_Web
Robert Chan

Experimentation Hero
Aelstro 01-13-17
 

Re: Force a variation in Optimizely X

This is also a concern at my company
Level 1
RyanC 01-17-17
 

Re: Force a variation in Optimizely X

I like to use URL option regularly, such as
http://www.mydomain.com?optimizely_x55555=1

More options:
https://developers.optimizely.com/x/solutions/javascript/topics/query-parameters/index.html
Ryan
------------------------------------------------
The best solution is the simplest.
Experimentation Hero
rockymcg 01-18-17
 

Re: Force a variation in Optimizely X

Hi ts,

Currently, Optimizely X Full Stack only allows for whitelisting of individual user IDs. However, if you wanted to allow users to QA your experiment using a query parameter in the URL— this should be possible. The actual code would differ based on what SDK you're using, but conceptually you would just need to activate your experiment based on the value of a query parameter. You could whitelist two user IDs, say "variation_a" and "variation_b", then activate your experiments for either of these user IDs based on the value of your query parameter.

You can read more about whitelisting in our developer docs: https://developers.optimizely.com/x/solutions/sdks/reference/?language=python#whitelisting

Best,
Rocky
Optimizely
ts 01-19-17
 

Re: Force a variation in Optimizely X

[ Edited ]

Thanks Rocky, we'll work on modifying out whitelist to accept url params. This would be a very helpful feature to use in the future. 

ts
Level 2