Page MenuHomePhabricator

Instrument the UI elements visible to temporary accounts
Closed, ResolvedPublic

Description

Motivation

The gray bar visible to temporary accounts has been reported as distracting and sometimes disruptive to temp account holders, altering their editing patterns in unexpected ways as users try to rid themselves of it. Before we make any changes to it, we want to understand the impact of the gray bar. We can decide how to modify the bar, if at all, based on the clicks we see for these elements.

image.png (1,336×126 px, 25 KB)

Acceptance criteria
  • Instrument the clicks to the following:
    • Help link (info icon)
    • Log in button
    • Create Account button
  • Capture the above for both - mobile and desktop
  • Surface these in the Temporary Accounts grafana dashboard.
Related tickets

Details

Event Timeline

Niharika triaged this task as Medium priority.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

T375712#10234942 says

Since these are links we can add instrumentation relatively easily if needed by adding data-event-name attributes to them

mszwarc changed the task status from Open to In Progress.Dec 10 2025, 9:39 AM
mszwarc claimed this task.

Change #1217130 had a related patch set uploaded (by Mszwarc; author: Mszwarc):

[mediawiki/core@master] TempUserBanner: Instrument clicks on buttons

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

Change #1217130 merged by jenkins-bot:

[mediawiki/core@master] TempUserBanner: Instrument clicks on buttons

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

Moving back to backlog to finish the last step (Surface these in the Temporary Accounts grafana dashboard), once the events start coming in – next week.

The dashboard counting clicks on the UI elements is here: https://superset.wikimedia.org/superset/dashboard/724/ it compares the number of clicks on "Log in", "Create account" and "(i)" with the number of clicks on the user menu (by temp account holders).