Skip to content

fix: update to use Segment instead of Mixpanel in injectHomePageScripts in app/components/Views/BrowserTab/index.js #8843

@NicolasMassart

Description

@NicolasMassart

What is this about?

Since Mobile app moved to Segment, we have to update home.metamask.io to use Segment instead of Mixpanel.
The metrics ID is injected in the web page through injectHomePageScripts in app/components/Views/BrowserTab/index.js

Scenario

No response

Design

No response

Technical Details

  • check with home page team how the dapp page can be moved to segment. Currently, analytics are using mixpanel in util/analytics.js
  • update mobile app injected code to provide the correct id to the dapp

Threat Modeling Framework

No response

Acceptance Criteria

No response

Stakeholder review needed before the work gets merged

  • Engineering (needed in most cases)
  • Design
  • Product
  • QA (automation tests are required to pass before merging PRs but not all changes are covered by automation tests - please review if QA is needed beyond automation tests)
  • Security
  • Legal
  • Marketing
  • Management (please specify)
  • Other (please specify): Dapp team and data team

References

https://github.com/MetaMask/dapps

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions