Page MenuHomePhabricator

Data QA of T304366: Ensure all DesktopWebUIActionsTracking events are correctly logged for menus
Closed, ResolvedPublic

Description

Background

In T304366: Ensure all DesktopWebUIActionsTracking events are correctly logged for menus we fixed an issue that did not record clicks to the links within the user menu on the Vector (2022) skin.

Acceptance criteria

  • Ensure that the clicks to the links within the user menu are being correctly logged

QA summary

Summary: T305454#7923000

Bugs/Potential Issues for Discussion

IssueStatusNote
Clicks on watchlist on the top of page dropped since 2022-03-11.Not a bugwatchlist was under the user menu before and later has been moved out. (T289619). The events of the watchlist was tracked by event.name='pt-watchlist' before , now it was tracked by event.name='pt-watchlist-2', T305454#7925398

Event Timeline

ovasileva created this task.

Below QA covered 5 tools under user menu: talk,
sandbox, preferences, beta, contribution, logout. We also QAed watchlist , which was under the user menu before and later has been moved out. (T289619)

By wiki

User menu on top

Confirmed that the clicks on tools on top with vector-2022 skin increased since 2022-03-31.
Fig 1 clicks on tools on top of the page by wikis from logged-in users with vector-2022 skin

image.png (1×1 px, 391 KB)

User menu on sticky header

Confirmed that the clicks on tools on sticky header with vector-2022 skin increased since 2022-03-31.
Fig 2 clicks on tools on sticky header by wikis from logged-in users with vector-2022 skin

image.png (996×1 px, 374 KB)

By tool

User menu on top

Trend of user link clicks on top:

  • Clicks on all tool links (expect watchlist) increased 132% in average since 2022-03-31
  • Clicks on logout, my contribution, preference increased significantly, more than 100%.
  • Clicks on watchlist dropped since 2022-03-11. Need to check the event tracking for clicks on watchlist.

Fig 3 clicks on tools on top of the page by tool type from logged-in users on all pilot wikis

image.png (1×1 px, 340 KB)

Table 1 Clicks by tools on the top of the page before and after the fix

nameisanonpostprepct_change = (post-pre)/pre
pt-betafeaturesfalse57944629.82%
pt-logoutfalse83772593223.06%
pt-mycontrisfalse283839309204.90%
pt-mytalkfalse2192114391.78%
pt-preferencesfalse29221180147.63%
pt-sandboxfalse6359322996.93%
pt-watchlistfalse205161181.25%

Pre period: 2022-03-17 ~ 2022-03-30
Post period: 2022-04-01 ~ 2022-04-14

User menu on sticky header

Trend of user link clicks on sticky header

  • The number of clicks on tools on sticky header is much smaller than that of user menu on top.
  • Clicks on all tool links increased after fix, 166.5 % in average.
  • Among all tool links, logout, my contribution, mytalk, sandbox and watchlist increased significantly, more than 100%.

Fig 4 clicks on tools on the sticky header by tool type from logged-in users on all pilot wikis

image.png (1×1 px, 385 KB)

Table 2 Clicks by tools on sticky header before and after the fix

nameisanonpostprepct_change = (post-pre)/pre
pt-betafeatures-sticky-headerFALSE191172.73 %
pt-logout-sticky-headerFALSE641196227.04 %
pt-mycontris-sticky-headerFALSE1400422231.75 %
pt-mytalk-sticky-headerFALSE8634152.94 %
pt-preferences-sticky-headerFALSE8523269.57 %
pt-sandbox-sticky-headerFALSE20710989.91 %
pt-watchlist-sticky-headerFALSE623281121.71 %

Pre period: 2022-03-17 ~ 2022-03-30
Post period: 2022-04-01 ~ 2022-04-14

@jwang - in February, we moved the watchlist out of the user menu (https://phabricator.wikimedia.org/T289619) - I wonder if that is affecting the way it's being tracked

@ovasileva, that's my hypothesis too.

in February, we moved the watchlist out of the user menu (https://phabricator.wikimedia.org/T289619) - I wonder if that is affecting the way it's being tracked

jwang updated the task description. (Show Details)

Clicks on watchlist dropped since 2022-03-11. Need to check the event tracking for clicks on watchlist.

The events of the watchlist was tracked by event.name='pt-watchlist' before. Now it was tracked by event.name='pt-watchlist-2' after it was moved out of the user menu on top. (T289619).

image.png (1×1 px, 185 KB)