Rich-text Reply

Variation & Control IDs

KO 10-14-16

Variation & Control IDs

Wondering if someone can point me in the right direction here.

 

I am looking to find the IDs of both the control and variation for a specific test that I am running on my site. When using the console, I can see the active experiments running via the expeirement ID, but looking to identify what the actual variationID is when the test variaiton is running www.url.com/optimizely_x12345=1 vs control  www.url.com/optimizely_x12345=0. Any help here would be greatly appreciated.

 

Thanks so much

KO
Level 2

Reneevl 10-17-16
 

Re: Variation & Control IDs

Hi There,

 

Thanks for reaching out to the Optiverse Community!

 

What you can use to identify the variations is enter optimizely.variationIdsMap in your console this will return a mapping of experiment IDs to variation IDs for all experiments into which the visitor is currently cookied, both active and inactive on the page. This allows you to see which variations you're bucketed into.

 

Read more about accessing the Optimizely Data Object here.

 

I hope this helps!

 

Best,

Renée van Leijen
Optimizely