Skip to content

[Analytics] Account Details Menu Opened event never fires #33346

Description

@vivek-consensys

Description

The event Account Details Menu Opened is defined as a constant in MetaMetrics.events.ts but is never imported or called in AccountsMenu.tsx. The component has useAnalytics() already wired up and fires other analytics events correctly (buy, notifications, settings, lock, QR scanner) — the screen-open event is simply missing.

File: app/components/Views/AccountsMenu/AccountsMenu.tsx
Owner: @MetaMask/mobile-core-ux

Steps to Reproduce

  1. Open the Accounts Menu in MetaMask Mobile.
  2. Check Mixpanel for an Account Details Menu Opened event.

Expected Result

An Account Details Menu Opened event fires in Mixpanel each time the AccountsMenu mounts/gains focus.

Actual Result

Zero events recorded. Confirmed via Mixpanel QA project (project 3354001, report Mobile Core UX #91404720) — the event has 0 count across all time.

Fix

Add a useEffect (or useFocusEffect) at the top of AccountsMenu.tsx:

trackEvent(
  createEventBuilder(MetaMetricsEvents.ACCOUNT_DETAILS_MENU_OPENED).build()
);

Severity

Medium


Filed via Claude bug reporter

Metadata

Metadata

Assignees

No one assigned

    Labels

    INVALID-ISSUE-TEMPLATEIssue's body doesn't match any issue template.Sev3-lowA possible confusion or deception that is only hypothetical & has no known instances in the wildta-bot-triageTriage-Agent - Re-triage prevention lock - applied immediately on pipeline startteam-mobile-uxMobile UX team

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    To be triaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions