From d7d207e8bb29c5e5be48316daea56b666fbd06fc Mon Sep 17 00:00:00 2001 From: Rohitkk432 <74586376+Rohitkk432@users.noreply.github.com> Date: Mon, 17 Jul 2023 18:22:05 +0530 Subject: [PATCH] mixpanel proxy added --- src/layouts/_root-layout.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layouts/_root-layout.tsx b/src/layouts/_root-layout.tsx index 1eaec6e..c57e79f 100644 --- a/src/layouts/_root-layout.tsx +++ b/src/layouts/_root-layout.tsx @@ -26,10 +26,10 @@ function FallbackLoader() { } mixpanel.init(process.env.NEXT_PUBLIC_MIXPANEL_PROJECT_KEY as string, { - debug: true, + debug: false, track_pageview: true, persistence: 'localStorage', - // api_host: process.env.NEXT_PUBLIC_MIXPANEL_HOST, + api_host: process.env.NEXT_PUBLIC_MIXPANEL_HOST, }); export default function RootLayout({