File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -84,3 +84,8 @@ DISABLE_AUTH=true
8484# Temporary JWT Keys for Playground (generate with scripts/generate-jwt-keys.sh)
8585# INKEEP_AGENTS_TEMP_JWT_PRIVATE_KEY=
8686# INKEEP_AGENTS_TEMP_JWT_PUBLIC_KEY=
87+
88+ # ========== ANALYTICS TOKENS ================
89+ # PUBLIC_POSTHOG_KEY=
90+ # PUBLIC_POSTHOG_HOST=https://us.i.posthog.com
91+ # PUBLIC_POSTHOG_SITE_TAG=
Original file line number Diff line number Diff line change @@ -83,7 +83,6 @@ function LoginForm() {
8383 return ;
8484 }
8585
86- // Identify user in analytics after successful login
8786 if ( result ?. data ?. user ) {
8887 const user = result . data . user ;
8988 posthog ?. identify ( user . id , {
Original file line number Diff line number Diff line change @@ -18,11 +18,9 @@ function HomeContent() {
1818 const [ isRedirecting , setIsRedirecting ] = useState ( false ) ;
1919 const { PUBLIC_DISABLE_AUTH } = useRuntimeConfig ( ) ;
2020 const posthog = usePostHog ( ) ;
21- console . log ( 'posthog' , posthog ) ;
2221
2322 const tenantId = process . env . NEXT_PUBLIC_TENANT_ID || DEFAULT_TENANT_ID ;
2423
25- // Identify user in analytics when authenticated (handles OAuth callback)
2624 useEffect ( ( ) => {
2725 if ( user && ! isLoading ) {
2826 posthog ?. identify ( user . id , {
You can’t perform that action at this time.
0 commit comments