mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-04 10:52:17 +02:00
fix: allow cross subdomain cookies at posthog (#243)
This commit is contained in:
parent
1d0a7cd2d8
commit
5ecc0d4da9
6 changed files with 39 additions and 7 deletions
|
|
@ -53,6 +53,7 @@ const initPostHog = () => {
|
|||
capture_pageview: 'history_change',
|
||||
capture_pageleave: true,
|
||||
capture_exceptions: true,
|
||||
cross_subdomain_cookie: true,
|
||||
debug: process.env.NEXT_PUBLIC_NODE_ENV === 'development',
|
||||
});
|
||||
console.log('PostHog initialized from NEXT_PUBLIC config');
|
||||
|
|
@ -68,6 +69,7 @@ const initPostHog = () => {
|
|||
capture_pageview: 'history_change',
|
||||
capture_pageleave: true,
|
||||
capture_exceptions: true,
|
||||
cross_subdomain_cookie: true,
|
||||
debug: process.env.NEXT_PUBLIC_NODE_ENV === 'development',
|
||||
});
|
||||
console.log('PostHog initialized from API config');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue