Page MenuHomePhabricator

Analyze sticky header scrolling on English Wikipedia
Closed, ResolvedPublic

Description

Background

We would like to measure sticky header scrolling for the Vector 2022 skin post deployment analysis on enwiki.

Acceptance criteria

Event Timeline

jwang triaged this task as High priority.Feb 14 2023, 6:04 PM

@ovasileva, here is the analysis summary of scrolling to top on English Wikipedia pre and post-deployment of Vector 2022.

Methodology

Data is pulled from mediawiki_web_ui_scroll schema, which captures scroll-to-top events on desktop. The usage of logged in users were logged before and after deployment. The usage of anonymous users were not logged before deployment. So we don't have a pre and post comparison for anonymous users.

As the schema does not capture skin version, below analysis is the overall scrolls usage from all skins, including vector and vector2022 and others. According to the analysis in T327953, the majority of users use the default skin: vector-2022.

The analysis covered:

  • Daily trends of scrolls per sessions on logged-in users
  • Scrolls per sessions two weeks pre and post deloyment comparison
Summary
  • Scrolls per session on logged-in users decreased by 26.59% two weeks post deployment compared to two week pre deployment, from 7 scrolls per session session to 5.1 scrolls per session.

image.png (1,502×976 px, 140 KB)

  • Need to confirm with engineer whether the sample rate had changed after deployment. It won't impact our analysis result as we chose scrolls per session as the metric. But it helps us to understand the surge of the scrolls and sessions after deployment.

Please refer to the full report for details. Let me know if you have any questions or additional requests.

Document some data exploration for instrumentation.

  • During Jan and Feb 2023, on enwiki, only scroll-to-top action is logged in event.mediawiki_web_ui_scroll schema. scroll-to-toc action on enwiki is not logged in schema.

Data

is_anonactionweb_sessionsscrolls
falsescroll-to-top130044410279875
truescroll-to-top44573906504923

Query

query_action <- "
select is_anon, action, count(distinct web_session_id) AS web_sessions, COUNT(1) AS scrolls 
FROM event.mediawiki_web_ui_scroll
WHERE year=2023 and month IN (1,2)
AND concat(normalized_host.project,'.', normalized_host.project_family)='en.wikipedia'  
GROUP BY is_anon,action
"
  • Few scroll-to-toc actions are logged for anonymous users on some wikis during Jan and Feb 2023.

Data

is_anonactionmonthwikiweb_sessionsscrolls
TRUEscroll-to-toc1fr.wiktionary11
TRUEscroll-to-toc2pt.wikipedia11
TRUEscroll-to-toc1fr.wikipedia511
TRUEscroll-to-toc1he.wikipedia22
TRUEscroll-to-toc1hr.wikipedia11
TRUEscroll-to-toc1ja.wikipedia22
TRUEscroll-to-toc1fa.wikipedia11
TRUEscroll-to-toc2ja.wikipedia11

Query

query_scroll_to_toc <- "
select is_anon, action, month, concat(normalized_host.project,'.', normalized_host.project_family),  count(distinct web_session_id) AS web_sessions, COUNT(1) AS scrolls 
FROM event.mediawiki_web_ui_scroll
WHERE year=2023 and month IN (1,2)
AND action='scroll-to-toc'
GROUP BY is_anon,action, month, concat(normalized_host.project,'.', normalized_host.project_family)
"

Thank you, Jennifer!