mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-04-14 11:38:31 -04:00
Fix cookie
This commit is contained in:
@@ -32,6 +32,11 @@ export function initTracking() {
|
||||
loaded: (posthog) => {
|
||||
posthog.debug(false)
|
||||
},
|
||||
persistence: 'cookie',
|
||||
cross_subdomain_cookie: true, // top-level domain cookie
|
||||
secure_cookie: window.location.protocol === 'https:',
|
||||
cookie_expiration: 365,
|
||||
capture_pageview: true,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user