Skip to content

Instantly share code, notes, and snippets.

@simondahla
Created July 5, 2016 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simondahla/45a113e17beba2a4a515a059a8415c61 to your computer and use it in GitHub Desktop.
Save simondahla/45a113e17beba2a4a515a059a8415c61 to your computer and use it in GitHub Desktop.
function() {
var vwoExp = null;
if (typeof _vwo_exp !== 'undefined') {
vwoExp = [];
for (keys in _vwo_exp) {
(typeof _vwo_exp[keys]['combination_chosen'] !== 'undefined' ? vwoExp.push(keys + ':' + _vwo_exp[keys]['combination_chosen']) : '');
}
(vwoExp.length > 0 ? vwoExp = '|' + vwoExp.join('|') + '|' : vwoExp = null);
}
return vwoExp;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment