You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Make initAnalyticsIfEnabled an async function.
- Pass confirmedOverride parameter to allow awaiting confirmation for analytics.
- In AnalyticsConfirmation.svelte, await analytics initialization before firing onboarding event to ensure PostHog is ready.
This prevents potential race conditions where PostHog is not yet initialized before the onboarding event is tracked.
0 commit comments