Skip to content

Commit 64e6fd8

Browse files
Update edgeworker.js
1 parent 6930522 commit 64e6fd8

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

edgeworker.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,11 @@ const decisionsKeyName = "decisions";
2929
const userCookieName = "optly_akamai_ew_user"; // Name of cookie that stores user identifier (visitorId) assignment
3030
const optlyUserIdsHeaderName = "optly-user-id";
3131
const userIdentifierKeyName = "user_identifier";
32-
const htmlVariable = "PMUSER_OPTIMIZELY_RESPONSE_HTML";
33-
const agentModeVariable = "PMUSER_OPTIMIZELY_ACTIVE_FLAGS_EXPERIMENTS";
3432
const userIdVariable = "PMUSER_OPTIMIZELY_USER_ID";
3533
const flagsListVariable = "PMUSER_OPTIMIZELY_FLAGS_LIST";
36-
const attributesListVariable_1 = "PMUSER_OPTIMIZELY_ATTRIBUTES_LIST_1";
37-
const attributesListVariable_2 = "PMUSER_OPTIMIZELY_ATTRIBUTES_LIST_2";
38-
const assignedDecisionsVariable = "PMUSER_OPTIMIZELY_ASSIGNED_DECISIONS";
34+
const attributesListVariable_1 = "PMUSER_OPTIMIZELY_ATTR_LIST_1";
35+
const attributesListVariable_2 = "PMUSER_OPTIMIZELY_ATTR_LIST_2";
36+
const assignedDecisionsVariable = "PMUSER_OPTIMIZELY_DECISIONS";
3937
const cookieExpirationSecs = 30 * 24 * 60 * 60;
4038
const cookieExpirationInDays = 30;
4139
const delimeter = "&";

0 commit comments

Comments
 (0)