Solved! Go to Solution.
Are you also using a tag management system?
Quite often, I will have optimizely set a window-scoped variable and then use the existence of that variable as a pre-condition for a tag in my tag management system which then performs code that is specific to that variation of the experiment.
For example, if we are testing different recommendations schemes, an experiment may contain:
Then the TMS system uses the existence of that variable (or the value of that variable) to alter what it normally does. The example above tells the TMS system to use recommendations scheme "2" instead of the one it usually does.
Analytics and Testing Guru