Skip to content

[Bug]: Analytics Preference Selected segment not working during onboarding #41378

@lwin-kyaw

Description

@lwin-kyaw

Describe the bug

During onboarding, Analytics Preference Selected event wasn't sent to the segment API due to a bug in the metametrics context and background state.

This causes the data inconsistencies in the segment backend and mixpanel, affecting the marketing analysis.

Expected behavior

Analytics Preference Selected event should be sent during the onboarding for both SRP and social login users.

Screenshots/Recordings

No response

Steps to reproduce

  1. install the latest metamask extension
  2. complete the onboarding
  3. inspect segment or mixpanel, the event wasn't being sent.

Error messages or log output

Where was this bug found?

Live version (from official store)

Version

13.24.0

Build type

None

Browser

Chrome

Operating system

MacOS

Hardware wallet

No response

Additional context

No response

Severity

No response

Jira issue

Expected behavior

No response

Screenshots/Recordings

No response

Steps to reproduce

  1. install the latest metamask extension
  2. complete the onboarding
  3. inspect segment or mixpanel, the event wasn't being sent.

Error messages or log output

Where was this bug found?

No response

Version

13.24.0

Build number

No response

Build type

None

Browser

Chrome

Operating system

MacOS

Hardware wallet

No response

Additional context

No response

Severity

Sev1

Metadata

Metadata

Assignees

Labels

Sev1-highHigh severity; partial loss of service with severe impact upon users, with no workaround.regression-prod-13.24.0Regression bug that was found in production in release 13.24.0release-13.25.0Issue or pull request that will be included in release 13.25.0release-13.26.0Issue or pull request that will be included in release 13.26.0team-mctptype-bugSomething isn't working

Type

No fields configured for Bug.

Projects

Status
To be triaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions