diff --git a/client/landing/stepper/declarative-flow/internals/hooks/use-sign-up-start-tracking/index.tsx b/client/landing/stepper/declarative-flow/internals/hooks/use-sign-up-start-tracking/index.tsx index 1a7c7a3411167..ade3eb09ec5e8 100644 --- a/client/landing/stepper/declarative-flow/internals/hooks/use-sign-up-start-tracking/index.tsx +++ b/client/landing/stepper/declarative-flow/internals/hooks/use-sign-up-start-tracking/index.tsx @@ -46,9 +46,11 @@ export const useSignUpStartTracking = ( { flow }: Props ) => { adTrackSignupStart( flowName ); }, [ isSignupFlow, flowName ] ); - if ( ! isSignupFlow ) { - return; - } + useEffect( () => { + if ( ! isSignupFlow ) { + return; + } - recordSignupStart( { flow: flowName, ref, optionalProps: extraProps || {} } ); + recordSignupStart( { flow: flowName, ref, optionalProps: extraProps || {} } ); + }, [ isSignupFlow, flowName, ref, extraProps ] ); };