File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ export default function AbstractButton({
4343
4444 const handlePress = ( e : any ) => {
4545 if ( trackEvent ) {
46+ // attempt to hide the event category
47+ trackEvent = trackEvent . split ( ':' ) [ 1 ] . trim ( ) ?? trackEvent ;
4648 analyticsTrackEvent ( `Click: ${ trackEvent } ` ) ;
4749 }
4850 if ( onPress ) {
Original file line number Diff line number Diff line change @@ -105,8 +105,8 @@ export const BackupEvents = {
105105 'Backup: Cloud Restore Failed: Passport Not Registered' ,
106106 CLOUD_RESTORE_FAILED_UNKNOWN : 'Backup: Cloud Restore Failed: Unknown Error' ,
107107 CLOUD_RESTORE_SUCCESS : 'Backup: Cloud Restore Success' ,
108- MANUAL_RECOVERY_SELECTED : 'Backup: Manual Recovery Selected' ,
109108 CREATE_NEW_ACCOUNT : 'Backup: Create New Account' ,
109+ MANUAL_RECOVERY_SELECTED : 'Backup: Manual Recovery Selected' ,
110110} ;
111111
112112export const MockDataEvents = {
You can’t perform that action at this time.
0 commit comments