Rich-text Reply

Experiment and variation names via API

Ling 07-20-16
Accepted Solution

Experiment and variation names via API



I am trying to extract the variation names active for the current user. In the Experiment dashboard, I have assigned a custom name to both the experiment itself and the variations. However, when accessing these via the data object, it returns generic names like "Exp 12345678" or "Var 987654321".


Is there any way to retrieve the actual names assigned to these entities? Is it possible that this is happening because I'm using the trial version?



Object.keys( {

// returns ["Exp 6577150529", "Exp 6585200497"]
Level 1

JasonDahlin 07-20-16

Re: Experiment and variation names via API

If your settings are set to obfuscate your experiment names, you won't be able to get them from the DOM.


Here is a javascript bookmarklet I developed that you can use that returns the experiment names and variations.

(be warned... this message board turns certain characters into smiley faces... nothign I can do about that so you may need to reverse engineer a couple pieces).

--Jason Dahlin
Analytics and Testing Guru Smiley Happy

Experimentation Hero
Ling 07-21-16

Re: Experiment and variation names via API

Thanks, going to project settings and deselecting that one solved the issue.
Level 1