Page MenuHomePhabricator

Add namespace to MobileWebUIActionsTracking schema
Closed, ResolvedPublic

Description

The MobileWebUIActionsTracking schema allows us to log information about how users interact with mobile web UI elements. We're interested to understand more about the Overflow menu added as part of Advanced Mobile Contributions.

These events do not currently tell us anything about where the user came from, only their destination, which makes it hard to understand where users are seeing the menu. This issue came up in particular because we wanted to split the data by user vs article namespaces. There is an overlap in the links present in both namespaces, as identified in T305928, and knowing which interactions are from users in user space versus articles will be helpful.

We could get the data we need if events were stored with the namespace of the page the user is on when the event is fired.

Event Timeline

@Samwalton9: we can log the namespace strings or the numerical id for the namespaces. If we go with the string, they will be logged in the configured content language for a given project unless we swap in the English name (which is not hard). If we go with the number, we have to go look up the mapping to make sense of the data when viewing. Preference?

Change 791053 had a related patch set uploaded (by Jsn.sherman; author: Jsn.sherman):

[schemas/event/secondary@master] Add namespace to MobileWebUIActionsTracking

https://gerrit.wikimedia.org/r/791053

@Samwalton9 This is the task for updating the schema. I'll also need to open a gerrit change request to include the new field in the events and to validate against the updated schema. Could you file a task for that as well, so I can reference it in the other request?

jsn.sherman moved this task from In Progress to Eng review on the Moderator-Tools-Team (Kanban) board.
jsn.sherman added a subscriber: ovasileva.

Pinging @ovasileva to request review on this, since this is my first time touching another thing most recently touched by Readers Web.

Change 791053 merged by jenkins-bot:

[schemas/event/secondary@master] Add namespace to Mobile & Desktop WebUIActionsTracking

https://gerrit.wikimedia.org/r/791053

Change 791399 had a related patch set uploaded (by DLynch; author: DLynch):

[schemas/event/secondary@master] Remove duplication from mobilewebuiactionstracking 1.2.0

https://gerrit.wikimedia.org/r/791399

Change 791405 had a related patch set uploaded (by Jsn.sherman; author: Jsn.sherman):

[schemas/event/secondary@master] Testing understanding of npm run build-modified

https://gerrit.wikimedia.org/r/791405

Change 791405 abandoned by Jsn.sherman:

[schemas/event/secondary@master] Testing understanding of npm run build-modified

Reason:

This was just a learning exercise

https://gerrit.wikimedia.org/r/791405

Change 791399 merged by jenkins-bot:

[schemas/event/secondary@master] Remove duplication from mobilewebuiactionstracking 1.2.0

https://gerrit.wikimedia.org/r/791399

cjming reassigned this task from cjming to jsn.sherman.
cjming subscribed.

Confirming that I see event.pagenamespace data attached to recent events :)