Josh (the blog)

I’ve delivered simple, clear and easy-to-use services for 20 years, for startups, scaleups and government. I write about the nerdy bits here.


Scraping active Optimizely experiments

Need to see what’s running?

I think Optimizely might’ve done something to make this tricker as an optional project setting, but it’s handy to be able to debug what’s running and possible splits.

item = optimizely.allExperiments[item];

if (!item.enabled) return;
    return "\t" + item.variation_weights[v]/1000 + "%: " + optimizely.allVariations[v].name;

Paste in console.