Last active
June 1, 2017 15:08
-
-
Save Danny-Driscoll/da085586ce1f360fe08d295e7c6b3e82 to your computer and use it in GitHub Desktop.
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
var state = optimizely.get('state'); | |
var string = state.getDecisionString({"campaignId":campaignId}); | |
if (string) { | |
window.optimizelyMoat = window.optimizelyMoat || []; | |
window.optimizelyMoat.push(string); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment