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;
|
||||
} )
|
||||
.catch( () => {
|
||||
recordEvent(
|
||||
'wccore_subscriptions_empty_state_get_started_error'
|
||||
);
|
||||
setIsGettingStarted( false );
|
||||
setHasError( true );
|
||||
} );
|
||||
|
|
Loading…
Reference in New Issue