Skip to content

Commit

Permalink
MWPW-145721 UNav Analytics Enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
Snehal Sonawane committed May 3, 2024
1 parent 7269ae8 commit 0d76324
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions libs/blocks/global-navigation/global-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -542,9 +542,9 @@ class Gnav {
case 'profile|click|sign-in':
return `Sign In|gnav|${experienceName}|unav`;
case 'profile|render|component':
return `Account|gnav|${experienceName}`;
return `Account|gnav|${experienceName}|unav`;
case 'profile|click|account':
return `View Account|gnav|${experienceName}`;
return `View Account|gnav|${experienceName}|unav`;
case 'profile|click|sign-out':
return `Sign Out|gnav|${experienceName}|unav`;
case 'app-switcher|render|component':
Expand Down
4 changes: 2 additions & 2 deletions test/blocks/global-navigation/test-utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ export const analyticsTestData = {
'app-switcher|click|footer|all-apps': 'AppLauncher.allapps',
'app-switcher|click|footer|see-all-apps': 'AppLauncher.allapps',
'app-switcher|render|component': 'AppLauncher.appIconToggle',
'profile|click|account': 'View Account|gnav|milo',
'profile|click|account': 'View Account|gnav|milo|unav',
'profile|click|sign-in': 'Sign In|gnav|milo|unav',
'profile|click|sign-out': 'Sign Out|gnav|milo|unav',
'profile|render|component': 'Account|gnav|milo',
'profile|render|component': 'Account|gnav|milo|unav',
'unc|click|dismiss': 'Dismiss Notifications',
'unc|click|icon': 'Open Notifications panel',
'unc|click|link': 'Open Notification',
Expand Down

0 comments on commit 0d76324

Please sign in to comment.