Page MenuHomePhabricator

Add user account button to mobile web header: Instrumentation and experiment setup for first iteration A/B Test
Open, MediumPublic5 Estimated Story Points

Description

User story & summary:

As a logged-out mobile web user, I want to easily access account creation and login options from the header so that I can quickly create an account or log in without navigating through multiple menus.

Related epic: T409236: [EPIC] Account Creation Experiments (WE1.8 FY 25-26)
Related project: https://www.mediawiki.org/wiki/Contributors/Account_Creation_Experiments

Background & research:

Production UX testing indicates that account creation is difficult to discover on mobile web. Currently, users must:

  1. Open the hamburger menu
  2. Select Log in
  3. Dismiss the auto focused keyboard
  4. Scroll to the bottom of the login page
  5. Locate the Create account option

This multi step flow creates unnecessary friction in the account creation funnel.

A comparative analysis of the top 20 most visited websites shows that nearly all platforms display a clear entry point to account creation directly from the homepage (T410558). This industry standard approach significantly improves discoverability and reduces friction in the account creation funnel.

Design:
BeforeAfter
image.png (1×750 px, 518 KB)
image.png (1×750 px, 518 KB)
image.png (1×774 px, 540 KB)
Instrumentation:

Track the following events on mobile web:

  • Clicks on the user account button in the header
  • Clicks on Create account
  • Clicks on Log in
  • Primary metric:
  • Optional metrics, if easily instrumented:
    • Constructive activation
    • Constructive edit rate
Experiment set up:
Release details

Experiment start date: March 26, 2026.
Experiment end date: June 30, 2026.

Acceptance Criteria

On Pilot wikis, for logged out traffic included in the experiment, on mobile:

Events are correctly instrumented and validated
Primary KPI dashboard is available after launch

Event Timeline

KStoller-WMF triaged this task as Medium priority.
KStoller-WMF moved this task from Inbox to Product backlog on the Growth-Team board.
KStoller-WMF attached a referenced file: F71614120: image.png. (Show Details)
KStoller-WMF attached a referenced file: F71614118: image.png. (Show Details)
KStoller-WMF attached a referenced file: F71614116: image.png. (Show Details)

One thought: do we also want to instrument the "Join Wikipedia" link on "Special:UserLogin"? I would expect that to have subsequently a _lower_ click-rate, because people wanting to create an account can go to Special:CreateAccount directly instead of having to go via the login page?

Michael set the point value for this task to 5.Feb 23 2026, 4:53 PM

In estimation, we discussed how this task is related to T415647: Add "Create account" menu item to mobile web hamburger menu (since that task asks for a competing action, which might affect the experiment results). It would be great to get clarity from @KStoller-WMF (but I recognise she's currently unavailable).

The estimate accounts for the fact that multiple codebases need to be changed to fully instrument and enablable via a Test Kitchen experiment.

Change #1240759 had a related patch set uploaded (by EMcFarland; author: EMcFarland):

[mediawiki/skins/MinervaNeue@master] Display user account button in mobile web header.

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

Test wiki created on Patch demo by AAlhazwani (WMF) using patch(es) linked to this task:
https://12353b1892.catalyst.wmcloud.org/w/

In estimation, we discussed how this task is related to T415647: Add "Create account" menu item to mobile web hamburger menu (since that task asks for a competing action, which might affect the experiment results). It would be great to get clarity from @KStoller-WMF (but I recognise she's currently unavailable).

The estimate accounts for the fact that multiple codebases need to be changed to fully instrument and enablable via a Test Kitchen experiment.

Good point. I was envisioning both T415647: Add "Create account" menu item to mobile web hamburger menu and T415648: Add user account button to mobile web header being bundled in this experiment. But let me know if there are concerns with that approach. I see T415648 as the main experiment / variable we are testing, and T415647 as a complimentary improvement that fixes some long-standing bad UX on mobile.

Change #1248412 had a related patch set uploaded (by EMcFarland; author: EMcFarland):

[integration/config@master] Add TestKitchen as a dependency for MinervaNeue

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

Hi @KStoller-WMF, I am good with bundling T415647 and T415648 together in one experiment. Thanks for clarifying.

Change #1248412 merged by jenkins-bot:

[integration/config@master] Zuul: [mediawiki/skins/MinervaNeue] Add TestKitchen as a dependency

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

Mentioned in SAL (#wikimedia-releng) [2026-03-05T14:41:45Z] <James_F> Zuul: [mediawiki/skins/MinervaNeue] Add TestKitchen as a dependency for T418053

@KStoller-WMF I have a follow-up question. I'm adding this A/B test at https://test-kitchen.wikimedia.org/create-experiment. It requires start date and end date to be filled out before I can save the experiment. We still have TBA for both of those dates. Any sense of what dates we'll want the test to run? Thanks!

(For now, I'm going to work around this by choosing a start date and end date in 2036. I'll change the dates once we know them.)

I made a very bare-bones measurement plan and saved it in Growth Team's google drive. It can be seen here.

@KStoller-WMF I have a follow-up question. I'm adding this A/B test at https://test-kitchen.wikimedia.org/create-experiment. It requires start date and end date to be filled out before I can save the experiment. We still have TBA for both of those dates. Any sense of what dates we'll want the test to run? Thanks!

Given we likely have another major release next week, what do you think about March 26th, 2026 as a release date? But we can shift this if we think we need longer for code review, experiment set up, or QA - @Etonkovidova.

For an end date let's say: June 30th, 2026. Likely we will have enough data and make a decision prior to this date, so it's somewhat arbitrary but forces us to make a decision prior to the end of the fiscal year.

Change #1240759 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Display user account button in mobile web header.

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

Change #1253392 had a related patch set uploaded (by EMcFarland; author: EMcFarland):

[mediawiki/skins/MinervaNeue@master] Display create account button in main menu when user is logged out.

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

Change #1259074 had a related patch set uploaded (by EMcFarland; author: EMcFarland):

[mediawiki/extensions/WikimediaEvents@master] T418053: Track clicks for user account menu experiment

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

Change #1259074 had a related patch set uploaded (by EMcFarland; author: EMcFarland):

[mediawiki/extensions/WikimediaEvents@master] Instrumentation: Track clicks for user account menu experiment

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

Change #1253392 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Display create account button in main menu when user is logged out.

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

Change #1259074 merged by jenkins-bot:

[mediawiki/extensions/WikimediaEvents@master] Instrumentation: Track clicks for user account menu experiment

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

Change #1264605 had a related patch set uploaded (by EMcFarland; author: EMcFarland):

[mediawiki/extensions/WikimediaEvents@wmf/1.46.0-wmf.21] Instrumentation: Track clicks for user account menu experiment

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

Change #1264625 had a related patch set uploaded (by EMcFarland; author: EMcFarland):

[mediawiki/skins/MinervaNeue@wmf/1.46.0-wmf.21] Display create account button in main menu when user is logged out.

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

Change #1264605 merged by jenkins-bot:

[mediawiki/extensions/WikimediaEvents@wmf/1.46.0-wmf.21] Instrumentation: Track clicks for user account menu experiment

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

Change #1264625 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@wmf/1.46.0-wmf.21] Display create account button in main menu when user is logged out.

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

Mentioned in SAL (#wikimedia-operations) [2026-03-30T13:59:45Z] <jforrester@deploy1003> Started scap sync-world: Backport for [[gerrit:1264605|Instrumentation: Track clicks for user account menu experiment (T418053)]], [[gerrit:1264625|Display create account button in main menu when user is logged out. (T418053 T415647)]]

Mentioned in SAL (#wikimedia-operations) [2026-03-30T14:01:49Z] <jforrester@deploy1003> emc-wmf, jforrester: Backport for [[gerrit:1264605|Instrumentation: Track clicks for user account menu experiment (T418053)]], [[gerrit:1264625|Display create account button in main menu when user is logged out. (T418053 T415647)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-03-30T14:16:42Z] <jforrester@deploy1003> Finished scap sync-world: Backport for [[gerrit:1264605|Instrumentation: Track clicks for user account menu experiment (T418053)]], [[gerrit:1264625|Display create account button in main menu when user is logged out. (T418053 T415647)]] (duration: 16m 57s)