diff --git a/packages/analytics/src/client/providers.tsx b/packages/analytics/src/client/providers.tsx index b56c305..7ca2f8a 100644 --- a/packages/analytics/src/client/providers.tsx +++ b/packages/analytics/src/client/providers.tsx @@ -20,6 +20,11 @@ export function PostHogProvider({ children }: { children: React.ReactNode }) { process.env.NEXT_PUBLIC_POSTHOG_HOST || "https://eu.i.posthog.com", person_profiles: "identified_only", // or 'always' to create profiles for anonymous users as well capture_pageview: false, // Disable automatic pageview capture, as we capture manually + // cookieless approach + persistence: "memory", + bootstrap: { + distinctID: "user distinct id", + }, }); }, []);