Skip to content

Refactor(analytics): PR D5 migrate MetaMetrics.getInstance() to analytics.trackEvent in ramps-controller #28324

@NicolasMassart

Description

@NicolasMassart

Summary

Create PR D5 to migrate ramps-controller analytics calls from MetaMetrics.getInstance().trackEvent(...) to analytics.trackEvent(...).

Scope

  • app/core/Engine/controllers/ramps-controller/event-handlers/analytics.ts
  • app/core/Engine/controllers/ramps-controller/event-handlers/analytics.test.ts

Parent

Sub-issue of #26686

Why

MetaMetrics.ts cannot be deleted in Phase E1 until ramps-controller no longer depends on the singleton path.

Metadata

Metadata

Labels

INVALID-ISSUE-TEMPLATEIssue's body doesn't match any issue template.release-7.74.0Issue or pull request that will be included in release 7.74.0team-mobile-platformMobile Platform team

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