diff --git a/frontend/src/components/SprigInitializer.tsx b/frontend/src/components/SprigInitializer.tsx index 05baaebc..0693ea64 100644 --- a/frontend/src/components/SprigInitializer.tsx +++ b/frontend/src/components/SprigInitializer.tsx @@ -16,7 +16,7 @@ const SprigInitializer = () => { // Set user ID and email in Sprig if user is authenticated if (isAuthenticated && currentUser) { window.Sprig("setUserId", currentUser.id); - window.Sprig("setUserEmail", currentUser.email); + window.Sprig("setEmail", currentUser.email); } // Track page view