Page MenuHomePhabricator

Newcomer tasks: additional EventLogging for ORES topics UX
Closed, ResolvedPublic

Description

In T244421: Newcomer tasks: UX changes for ORES topics, we removed the "show more" button that existed in the morelike version of topic filters, and instead added these "select all" and "remove all" buttons. Therefore, we want to change the EventLogging so that we no longer have the code that records the "show more" events, but instead we log events for when users click "select all" and "remove all". Along with those events, we want to record which topic header the user is clicking those buttons under: "Culture", "History and Society", "Science, Technology, and Math", and "Geography".

This change can also remove the code to record whether the selected topics are "above the fold" or not.

Event Timeline

Change 578404 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza):
[mediawiki/extensions/GrowthExperiments@master] [WIP] Update instrumentation for ORES topics UX changes

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

Change 578404 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Update instrumentation for ORES topics UX changes

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

Checked inproduction (testwiki wmf.25) and betalabs eventlogging.

When a user 'Select all' (or 'Remove all') without clicking on 'Done' - the event is still fired, but topics will not have data:

{"dt": "2020-03-25T09:28:37Z", "event": {"action": "se-topicfilter-select-all", "action_data": "taskTypes=copyedit,links;topics=;taskCount=200;isCta=false;topicGroup=science-technology-and-math"

Compare with when 'Select all' was selected and 'Done' was clicked:

{"dt": "2020-03-25T09:29:52Z", "event": {"action": "se-topicfilter-select-all", "action_data": "taskTypes=copyedit,links;topics=biology,chemistry,computers-and-internet,earth-and-environment,engineering,general-science,mathematics,medicine-and-health,physics,technology;taskCount=200;isCta=false;topicGroup=science-technology-and-math"

Below are the examples for illustration only (no issues)
(1) "se-topicfilter-select-all" - User clicks on the "select all" button in the topic filter or the initiation topic dialog.
In the console; "isCta=true" - the button was in the initiation dialog.

{action: "se-topicfilter-select-all", action_data:"isCta=true;topicGroup=geography", user_id: 44486, user_editcount: 2, module: "suggested-edits", …}
action: "se-topicfilter-select-all"
action_data: "isCta=true;topicGroup=geography"
user_id: 44486
user_editcount: 2
module: "suggested-edits"
is_mobile: false
mode: "desktop"
homepage_pageview_token: "iabdtcdk672q3dlu31hdfjhkfb7c2c9d"

(2) "se-topicfilter-remove-all"
"isCta=false" - the button was in the initiation dialog.

{action: "se-topicfilter-remove-all", action_data: "taskTypes=copyedit,links;topics=architecture,art,c…-games;taskCount=0;isCta=false;topicGroup=culture", user_id: 44486, user_editcount: 2, module: "suggested-edits", …}
action: "se-topicfilter-remove-all"
action_data: "taskTypes=copyedit,links;topics=architecture,art,comics-and-anime,entertainment,fashion,literature,music,performing-arts,sports,tv-and-film,video-games;taskCount=0;isCta=false;topicGroup=culture"
user_id: 44486
user_editcount: 2
module: "suggested-edits"
is_mobile: false
mode: "desktop"
homepage_pageview_token: "iabdtcdk672q3dlu31hdfjhkfb7c2c9d"

An example from betalabs eventlogging:

{"dt": "2020-03-25T01:21:41Z", "event": {"action": "se-topicfilter-select-all", "action_data": "taskTypes=copyedit,links;taskCount=200;topics=;isCta=false;topicGroup=history-and-society", "homepage_pageview_token": "epfed7b6p3tlhljme79iro7s095f68a6", "is_mobile": false, "mode": "desktop", "module": "suggested-edits", "state": "activated", "user_editcount": 63, "user_id": 6899}, "ip": "*****", "recvFrom": "deployment-cache-text05.deployment-prep.eqiad.wmflabs", "revision": 19875950, "schema": "HomepageModule", "seqId": 1508566, "userAgent": {"browser_family": "Chrome", "browser_major": "80", "browser_minor": "0", "device_family": "Other", "is_bot": false, "is_mediawiki": false, "os_family": "Mac OS X", "os_major": "10", "os_minor": "10", "wmf_app_version": "-"}, "uuid": "[...]", "webHost": "en.wikipedia.beta.wmflabs.org", "wiki": "enwiki"}

This sounds fine with me. Thank you!

  NODES
3d 2
Experiments 3
games 2
games 2
HOME 5
Intern 1
mac 1
Note 3
os 12
text 1
Users 1
web 1