Page MenuHomePhabricator

Make use of NewImpact Vue logger plugin for mentorship instrumentation
Open, LowPublic

Description

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

Event Timeline

nettrom_WMF moved this task from Triage to Tracking on the Product-Analytics board.
nettrom_WMF subscribed.

I added a QA step to the acceptance criteria since we'll be wanting to verify that this doesn't alter the logged data in any way. Happy to help out with that as needed, let me know! Moving this to "Tracking" on the Product Analytics board for now.

Sgs updated the task description. (Show Details)
Sgs removed Sgs as the assignee of this task.Jul 5 2023, 10:51 AM

Updated the task description and unassigned since I'm not actively working on this.