diff --git a/packages/analytics-client-common/src/storage/cookie.ts b/packages/analytics-client-common/src/storage/cookie.ts index f0945d83a..c80a498ef 100644 --- a/packages/analytics-client-common/src/storage/cookie.ts +++ b/packages/analytics-client-common/src/storage/cookie.ts @@ -37,7 +37,7 @@ export class CookieStorage implements Storage { } try { try { - value = decodeURIComponent(atob(value)); + value = decodeURIComponent(atob(decodeURIComponent(value))); } catch { // value not encoded }