refactor: fix event names used to track notifications#25521
refactor: fix event names used to track notifications#25521Prithpal-Sooriya merged 12 commits intodevelopfrom
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
There was a problem hiding this comment.
PR Summary
This PR updates event names and properties for tracking notifications to ensure consistency and adherence to conventions.
app/scripts/metamask-controller.js: RenamedPushNotificationClickedtoNotificationClickedand added properties likenotification_id,notification_is_read, andclick_type.shared/constants/metametrics.ts: Standardized MetaMetrics event names for better consistency.ui/components/app/modals/turn-on-metamask-notifications/turn-on-metamask-notifications.tsx: Updated event names and added propertiesis_notifications_enabledandaction_type.ui/components/multichain/global-menu/global-menu.js: Renamed event names and properties for notification tracking.ui/pages/notifications-settings/notifications-settings-allow-notifications.tsx: Replaced specific event names withNotificationsSettingsUpdatedand added propertiessetting_type,old_value, andnew_value.
12 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
d7c77cd
add the missing segment events for onboarding snapshots
Builds ready [d7c77cd]
Page Load Metrics (227 ± 226 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #25521 +/- ##
===========================================
+ Coverage 69.94% 69.95% +0.01%
===========================================
Files 1409 1409
Lines 49794 49779 -15
Branches 13773 13767 -6
===========================================
- Hits 34826 34818 -8
+ Misses 14968 14961 -7 ☔ View full report in Codecov by Sentry. |
|
Builds ready [5a7ea8e]
Page Load Metrics (60 ± 7 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|



Description
This PR modifies the names of some tracked events to monitor the use of notifications, ensuring they adhere to the conventions used.
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist