Page MenuHomePhabricator

Analyze Table of Content usage on English Wikipedia
Closed, ResolvedPublic

Description

Background

We would like to measure the Table of Content usage for the Vector 2022 skin post deployment analysis on enwiki.

Acceptance criteria

  • Compare usage of the table of contents before and after the Vector 2022 deployment on English Wikipedia
  • By: logged-out users, logged-in users, edit bucket

Event Timeline

@ovasileva, assign this ticket to you as the analysis is pending for clarifications on

  1. analysis scope
  2. data instrumentation for ToC. What's the event.name for following 3 types of ToC in DesktopWebUIActionsTracking schema? What are those abnormal event names mentioned in T329333?

Screen Shot 2023-02-09 at 2.21.38 PM.png (1,670×1,088 px, 296 KB)

Screen Shot 2023-02-09 at 2.20.47 PM.png (1,928×1,102 px, 486 KB)

old (1).png (1,750×744 px, 225 KB)

👆 my comment above was moved to T329333 where I think this conversation about the TOC clicks can continue.

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

Blocked on engineers providing info about the instrumentation

Have confirmed with engineer that we are not tracking clicks on toc in vector skin (event.skin=vector) now. T329333

Also looked into historical data. We did not find events of clicking on legacy toc (event.name=ui.toc) in vector skin (skinversion=1) in schema.

isanonskinversionnameclicks
FALSE2ui.sidebar-toc1363887
TRUE2ui.sidebar-toc2
FALSE2ui.toc69329

We only tracked clicks on legacy toc (event.name=ui.toc) i in vector-2022 skin (skinversion=2) between 2022-03-31 and 2022-12-15 as below graph shows.

image.png (1,788×1,196 px, 276 KB)

In conclusion, we do not have data of clicking on legacy toc in vector skin as the pre-deployment baseline to measure the impact of Vector 2022 deployment on ToC usage.

query

query_test_2022<- "
SELECT event.isAnon, event.skinVersion, event.name, count(1) AS clicks
FROM event_sanitized.DesktopWebUIActionsTracking
WHERE wiki='enwiki'
AND year=2022 
AND event.action='click' 
AND event.name IN ('ui.toc', 'ui.sidebar-toc')
GROUP BY event.isAnon, event.skinVersion, event.name
"
Methodology

As we don’t have data for vector skin pre deployment, we don’t have a baseline to measure the impact on usage of ToC post deployment of vector 2022. Alternatively, we measured the clicks per page session by logged in users after deployment on enwiki, and compared the distribution with the result of AB test on the pilot wikis. (AB test report link ). The AB test analysis only focused on the page sessions which clicked on ToC due to the data limitation. The sessions with zero click are not included in the AB test analysis and this analysis.

Data

Below table shows how the number of sessions distributed by the number of clicks per page session by logged in users on English WIkipedia after deployment.
Data timeframe: 2023-01-19 ~ 2023-03-18

Number of clicks per page sessionnumber of page sessionsproportion
1144605673.21%
230546215.46%
3996935.05%
4467612.37%
5245701.24%
6150090.76%
794980.48%
866890.34%
946130.23%
1033750.17%
1125340.13%
1218850.10%
1314760.07%
1411760.06%
159210.05%

Below table shows the AB test result of logged in users on pilot wikis:

clicks per page sessionnum of sessions in controlnum of sessions in treatmentproportion in control groupproportion in treatment group
111558137990.68%66.68%
29483857.44%18.62%
31341311.05%6.33%
453600.42%2.9%
522320.17%1.55%
613210.1%1.02%
75180.04%0.87%
8490.03%0.44%
91120.01%0.58%
10350.02%0.24%
11050%0.24%
12250.02%0.24%
13120.01%0.1%
14010%0.05%
15010%0.05%
Summary
  • After deployment, the distribution of clicks per page session among logged-in users on English Wikipedia is similar to that of the treatment group in the AB test.
  • Among the page sessions which have clicked on ToC on English WIkipedia after the deployment, 73.21% of sessions clicked once, 26.79% of sessions clicked twice or more.

Thank you, Jennifer!