Can you get the experiment ID and the variation ID from within the exp/variation you are coding in?
Inside teh JS pane, I was hoping that I could just use something like this.experiement and this.variation but no luck. I know I can just look up in the URL and see the values but it would be easier to maintain a chunk of code that I use if I could do something like this.
Can't delete a question huh?
Not sure if your question still stands but check out `optimizely.variationIdsMap` for Optimizely Classic or `optimizely.get('data')` for Optimizely X.
Optimizing Sales/Growth for eCommerce Clients through Multivariate & A/B Testing, Personalization & Analytics
Connect with me on Linkedin