Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fix logout

Blue Moused0cdc52128a3
diff --git a/src/utils/cookie.js b/src/utils/cookie.js
index de81e3efb..989007646 100644
--- a/src/utils/cookie.js
+++ b/src/utils/cookie.js
@@ -19,5 +19,5 @@ export const setCookie = (key, value, maxAge = 3600, sameSite = 'strict') => {
}
export const deleteCookie = (key) => {
- document.cookie = `${key}=; max-age=0; path=/; SameSite=strict`
+ document.cookie = `${key}=; max-age=0; path=/; SameSite=strict${COOKIE_SUFFIX}`
}