diff --git a/src/progressive-profiling/ProgressiveProfiling.jsx b/src/progressive-profiling/ProgressiveProfiling.jsx index 0fbd799d..24fdf228 100644 --- a/src/progressive-profiling/ProgressiveProfiling.jsx +++ b/src/progressive-profiling/ProgressiveProfiling.jsx @@ -64,13 +64,13 @@ const ProgressiveProfiling = (props) => { if (registrationResponse) { setRegistrationResult(registrationResponse); - sendPageEvent('login_and_registration', 'welcome'); } }, [DASHBOARD_URL, registrationResponse]); useEffect(() => { if (registrationResponse && authenticatedUser?.userId) { identifyAuthenticatedUser(authenticatedUser.userId); + sendPageEvent('login_and_registration', 'welcome'); } }, [authenticatedUser, registrationResponse]);