Hi all,
is there a way to retrieve variation id for a test?
$test = new Test('homepage_color', array(
'white' => 1,
'black' => 1,
'yellow' => 1,
));
$test->getVariation(); // black
$test->getVariationId(); // 2
It should be useful in case of multivariation test to obtain a cross test unique id (tracking + analytics purpose).
Thanks,
Fabio