MetaMask / metamask-mobile

Mobile web browser providing access to websites that use the Ethereum blockchain
https://metamask.io
Other
2.12k stars 1.1k forks source link

chore: refactor metametrics events #10784

Open NicolasMassart opened 3 weeks ago

NicolasMassart commented 3 weeks ago

What is this about?

As MetaMetrics system evolved, we stacked multiple ways to define events. We even have a Legacy section in the events list. Even on the new events, there's multiple ways to track events because they are structured differently. This forced us to build "conversion" functions.

Scenario

No response

Design

No response

Technical Details

Threat Modeling Framework

What are we working on?

What can go wrong?

What are we going to do about it?

Did we do a good job?

Acceptance Criteria

Stakeholder review needed before the work gets merged

References

No response

gauthierpetetin commented 2 weeks ago

Linking this ticket here as well, to make sure that we adopt a similar approach in Extension and Mobile, whatever we agree on. https://github.com/MetaMask/mobile-planning/issues/1898

NicolasMassart commented 2 weeks ago

Also related to https://github.com/MetaMask/mobile-planning/issues/1905 for aligning mobile and extension on this topic