Add the wccore_subscriptions_empty_state_get_started_error tracking event.
This commit is contained in:
parent
e071bf1d4b
commit
4336b3a390
|
@ -128,6 +128,9 @@ const GetStartedButton: React.FC< GetStartedButtonProps > = ( {
|
||||||
window.location.href = newSubscriptionProductUrl;
|
window.location.href = newSubscriptionProductUrl;
|
||||||
} )
|
} )
|
||||||
.catch( () => {
|
.catch( () => {
|
||||||
|
recordEvent(
|
||||||
|
'wccore_subscriptions_empty_state_get_started_error'
|
||||||
|
);
|
||||||
setIsGettingStarted( false );
|
setIsGettingStarted( false );
|
||||||
setHasError( true );
|
setHasError( true );
|
||||||
} );
|
} );
|
||||||
|
|
Loading…
Reference in New Issue