GoogleContentExperimentPageDecorator::setUserVariation
Set the variation which the user will see for their journey.
Here we prefer global experiments to localised ones. If you have an experiment running on a page and one which is running globally, the one running globally takes precedent. This makes it very important to manage your experiments as pushing code which relies on experiments could be in effect due to the global one. Basically, turn off global experiments before trying to set up a localised one.
Signature
private function setUserVariation([boolean
$experimentID = false] )
Parameters
$experimentID
— boolean