Description
Four analytics events related to network prompt flows are not implemented anywhere in the codebase — no constant in MetaMetrics.events.ts and no trackEvent call in any component. All four show 0 counts in Mixpanel QA (project 3354001, report Mobile Core UX #91404720).
Missing events:
Network Switch Prompt Displayed
Network Switch Prompt Resolved
Add Network Prompt Displayed
Add Network Prompt Resolved
Steps to Reproduce
- Trigger a dapp network switch request (
wallet_switchEthereumChain).
- Trigger a dapp add network request (
wallet_addEthereumChain).
- Check Mixpanel for any of the four events above.
Expected Result
Each event fires at the appropriate moment — when the prompt appears and when it is resolved (approved or rejected).
Actual Result
Zero events recorded for all four. Constants do not exist in MetaMetrics.events.ts and no trackEvent calls exist anywhere in the repo.
Fix
- Add the four constants to
MetaMetrics.events.ts.
- Wire
trackEvent calls into the network switch and add-network approval flows (likely app/components/Views/NetworkSelector/ and/or app/components/UI/NetworkModal/).
Severity
Medium
Filed via Claude bug reporter
Description
Four analytics events related to network prompt flows are not implemented anywhere in the codebase — no constant in
MetaMetrics.events.tsand notrackEventcall in any component. All four show 0 counts in Mixpanel QA (project3354001, reportMobile Core UX#91404720).Missing events:
Network Switch Prompt DisplayedNetwork Switch Prompt ResolvedAdd Network Prompt DisplayedAdd Network Prompt ResolvedSteps to Reproduce
wallet_switchEthereumChain).wallet_addEthereumChain).Expected Result
Each event fires at the appropriate moment — when the prompt appears and when it is resolved (approved or rejected).
Actual Result
Zero events recorded for all four. Constants do not exist in
MetaMetrics.events.tsand notrackEventcalls exist anywhere in the repo.Fix
MetaMetrics.events.ts.trackEventcalls into the network switch and add-network approval flows (likelyapp/components/Views/NetworkSelector/and/orapp/components/UI/NetworkModal/).Severity
Medium
Filed via Claude bug reporter