diff --git a/libraries/browser-tracker-core/src/tracker/index.ts b/libraries/browser-tracker-core/src/tracker/index.ts index 3400b672c..dae0c3011 100755 --- a/libraries/browser-tracker-core/src/tracker/index.ts +++ b/libraries/browser-tracker-core/src/tracker/index.ts @@ -484,7 +484,7 @@ export function Tracker( // configurations where each page starts with no consent, then "updates" availability // as third-party consent management widgets load // fallback to localstorage if cookie doesn't exist - return cookieStorage.getCookie(fullName) ?? attemptGetLocalStorage(fullName); + return cookieStorage.getCookie(fullName) || attemptGetLocalStorage(fullName); } /*