Page MenuHomePhabricator

Instrumentation: Suggestions mode
Closed, ResolvedPublic

Description

Associated feature: T269638: Add a link: Suggestions mode

When the user has completed or closed onboarding, or when they have chosen the task after previously saying they don’t want to see onboarding again, they will be in suggestions mode ready to do the task. We need to record:

  • An event for when the users arrives in the state of: they are in suggestions mode with the link inspector, without onboarding in front of them, either because they have completed onboarding or because it is no longer shown for them.
  • It should include how many suggestions are available to them in the article at that time.

Event Timeline

kostajh renamed this task from Instrumentation: AI suggestions mode to Instrumentation: Suggestions mode.Apr 14 2021, 9:14 AM
kostajh updated the task description. (Show Details)
kostajh triaged this task as Medium priority.Apr 14 2021, 12:54 PM

Change 684127 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] AddLink: LinkSuggestionInteraction logger and instrumentation

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

Change 690070 had a related patch set uploaded (by Gergő Tisza; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@wmf/1.37.0-wmf.5] AddLink: LinkSuggestionInteraction logger and instrumentation

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

Change 684127 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] AddLink: LinkSuggestionInteraction logger and instrumentation

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

Change 690070 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@wmf/1.37.0-wmf.5] AddLink: LinkSuggestionInteraction logger and instrumentation

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

Mentioned in SAL (#wikimedia-operations) [2021-05-13T12:40:40Z] <tgr@deploy1002> Synchronized php-1.37.0-wmf.5/extensions/GrowthExperiments: Backport: instrumentation patches ([[gerrit:690070|]] [[gerrit:690071|]] [[gerrit:690072|]] [[gerrit:690073|]]) (T278116 T278117 T278114 T278177 T278487 T278112 T278111 T278118) (duration: 01m 09s)

Checked in wmf.14 - works as expected.

  • a user clicks on "Don' show again" for the onboarding tour:
{action: "skip_all", action_data: "dont_show_again=true", is_mobile: false, newcomer_task_token: "f390609af67c58080812", page_id: 114919, …}
$schema: "/analytics/mediawiki/structured_task/article/link_suggestion_interaction/1.0.0"
action: "skip_all"
action_data: "dont_show_again=true"
active_interface: "onboarding_step_1_dialog"
dt: "2021-07-22T21:01:54.850Z"
homepage_pageview_token: "igeqheg9j1o8kubmi8m2b6e8qd03tlah"
is_mobile: false
meta: {stream: "mediawiki.structured_task.article.link_suggestion_interaction", domain: "test.wikipedia.org"}
newcomer_task_token: "f390609af67c58080812"
page_id: 114919
page_title: "Kermode and Mayo's Film Review"
  • a user arrives to another article with link recommendation. The onboarding tour is not shown. The number of phrases found is displayed, as usual.
{action: "impression", action_data: "number_phrases_found=6;number_phrases_expected=6", is_mobile: false, newcomer_task_token: "4526cb55fb93d498b691", page_id: 113850, …}
$schema: "/analytics/mediawiki/structured_task/article/link_suggestion_interaction/1.0.0"
action: "impression"
action_data: "number_phrases_found=6;number_phrases_expected=6"
active_interface: "machinesuggestions_mode"
dt: "2021-07-22T21:02:39.633Z"
homepage_pageview_token: "3p85ko39foch3d48l856kj6h7th8cpi0"
is_mobile: false
meta: {stream: "mediawiki.structured_task.article.link_suggestion_interaction", domain: "test.wikipedia.org"}
newcomer_task_token: "4526cb55fb93d498b691"
page_id: 113850
page_title: "CISS-FM"