Skip to content

Commit 3c66281

Browse files
committed
refactor: follow conventions dataLayer data
1 parent faf1867 commit 3c66281

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/cookie-consent.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,11 @@ function addScripts(lvl) {
2020
}
2121

2222
const dataLayerInfo = {
23-
event: "ab-viewed",
24-
experiment: "OKTA_NEW_HOMEPAGE_v1",
25-
variation: "control"
23+
'event': "ab-viewed",
24+
'experiment': "JWT_NEW_DESIGN",
25+
'variation': "control"
2626
};
2727

28-
//add the data to each data layer object
2928
window.digitalData.abInfo = dataLayerInfo;
3029
window.dataLayer.push(dataLayerInfo);
3130
// GTM

0 commit comments

Comments
 (0)