This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
/* | |
* The code below should be executed on every page. | |
* It will cycle through variationMap, prune only those that are still active, | |
* and concatenate "{{experiment_id}}:{{variation_index}}" into the eVar # | |
* you pass as an argument. | |
**/ | |
function setOptimizelyTestMapToEvar(e) { | |
if ("undefined" != typeof window["optimizely"]) { | |
var allTests = window["optimizely"].allExperiments |
NewerOlder