Page MenuHomePhabricator

Merge DesktopWeb- and MobileWebUIClickTracking instruments
Open, LowPublic

Description

Background

During T353029: QA desktopwebuiactionstracking schema port to the new metrics platform, @jwang noted several discrepancies between the "old" instrument and the "new" instrument (the proposed migration of the old instruments to the Metrics Platform client libraries). Some of those discrepancies can be explained by the differences between the two versions of the old instrument themselves, i.e.:

<snip />

  1. DesktopWebUIActionsTracking ("Desktop") includes the bucketized viewport size but MobileWebUIActionsTracking ("Mobile") doesn't
  2. Desktop uses [the onClickTrack() utility function] (source) but Mobile doesn't
  3. Mobile tracks "mobile modes" (IIRC whether AMC is enabled) but Desktop doesn't
  4. Mobile submits events like action=init,action_source="ns=0" (source) but Desktop submits events like action=init

AC

  • A single schema is agreed on for both versions of the instrument
  • The codebases for both versions of the instrument are merged
  • The new instrument logs a single shape of data for all sites to one stream
  • The old stream(s) are decommissioned
    • event.eventlogging_desktopwebuiactionstracking
    • event.eventlogging_mobilewebuiactionstracking

Event Timeline

ovasileva moved this task from Incoming to Groomed on the Web-Team-Backlog board.

Questions for @jwang:
If we decide on an alternative solution, @phuedx suggested documenting the differences centrally such as Wikitech.

  • Would you be able to help in ensuring Product Analytics resources are updated to reference the documentation on Wikitech?
  • Would you be able to help provide all relevant resources that analysts would use to access such documentation?

If we were to take on this ticket, and we begin merging the two schemas, how will this affect analyses moving forward? Can you help provide a +/- list?

@KSarabia-WMF , my understanding is that mediawiki_web_ui_actions will be the merged schema. After all issues in mediawiki_web_ui_actions are resolved, we can move forward to using it as the analysis data source. And DesktopWeb and MobileWebUIClickTracking can be retired.

Would you be able to help in ensuring Product Analytics resources are updated to reference the documentation on Wikitech?
Would you be able to help provide all relevant resources that analysts would use to access such documentation?

Sure, I could add the document link to Datahub or other related pages.

Jdlrobson lowered the priority of this task from High to Medium.Tue, Apr 30, 10:47 PM
Jdlrobson lowered the priority of this task from Medium to Low.Tue, May 14, 9:19 PM