From 85a9a21a1cf689374d61b3149d5e3984bcb83cf9 Mon Sep 17 00:00:00 2001 From: mihaisc Date: Tue, 21 Mar 2023 16:19:52 +0200 Subject: [PATCH] remove cookies (#1900) --- src/pages/_app.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 86ccc9d17..edb7acb01 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -19,7 +19,8 @@ import { useRouter } from 'next/router' // Check that PostHog is client-side (used to handle Next.js SSR) if (typeof window !== 'undefined') { posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY, { - api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST || 'https://eu.posthog.com' + api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST || 'https://eu.posthog.com', + persistence: 'memory' }) }