CSR-759 Ensure funnel cookie is created if it doesn't exist
This commit is contained in:
parent
b23361d0a3
commit
5ca2273b47
1 changed files with 3 additions and 3 deletions
|
|
@ -137,10 +137,10 @@ function setFunnelCookieProperties(properties) {
|
|||
Object.keys(properties).forEach(key => {
|
||||
cookie[key] = properties[key];
|
||||
});
|
||||
|
||||
const cookieValueJson = JSON.stringify(cookie);
|
||||
createOrUpdateCookie(cookieNames.FUNNEL_SESSION_INFO, cookieValueJson, {});
|
||||
}
|
||||
|
||||
const cookieValueJson = JSON.stringify(cookie ?? {});
|
||||
createOrUpdateCookie(cookieNames.FUNNEL_SESSION_INFO, cookieValueJson, {});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue