diff --git a/app/providers.js b/app/providers.js index 19216f4..6bdb1ca 100644 --- a/app/providers.js +++ b/app/providers.js @@ -4,10 +4,11 @@ import { PostHogProvider } from 'posthog-js/react' if (typeof window !== 'undefined') { posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY, { - api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST + api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST, + persistence: 'memory' //enables cookieless tracking }) } export function PHProvider({ children }) { return {children} -} \ No newline at end of file +}