Skip to content

Commit

Permalink
Remove 'vwo-' from the beginning of test values
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmcdonnell committed Jan 25, 2019
1 parent 64bd52e commit 5f178ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function getVwoTests() {
//check if cookie matches VWO cookie regex
if (cs[i].match(/^_vis_opt_exp_.*_combi/)) {
//modify the cookie string to VWO-TESTID-VARIANT and push to array
vwoCookies.push('vwo-' + cs[i].match(/\d+/g)[0] + '-' + cs[i].slice(-1));
vwoCookies.push(cs[i].match(/\d+/g)[0] + '-' + cs[i].slice(-1));
}
}
return vwoCookies;
Expand Down

0 comments on commit 5f178ef

Please sign in to comment.