We can reuse the logger.js Vue plugin in other modules to reduce boilerplating and standarise as much as possible instrumentation.
Acceptance criteria
- Move ext.growthExperiments.Homepage.NewImpact/plugins/logger.js to a Vue lib/utils folder
- Reuse the logger for all Vue applications with instrumentation, so far NewImpact, Mentorship/PersonalizedPraise and the AddLinkDialog
- Make the render mode optional since not all interfaces using the plugin will be rendered from the homepage
- Verify that the event data logged is consistent with non-Vue behaviour