As one of the instrumentations for ToC ( table of content), Web team plan to deploy the instrumentation to track time spent on a page.
Instrumentation note
The related events will be stored in schema mediawiki_reading_depth, identified by session_token
QA summary
What has been checked | Status | Note |
---|---|---|
Events by wiki projects | ✅pass | Enabled on enwiki and 22 pilot wikis |
Daily events | ✅pass | The events are available for pilot wikis since 2022-04-26 |
Events by namespace | ✅pass | namespace id is captured |
Events by user type | ✅pass | Both anonymous user and logged in user are captured |
Events by action | ✅pass | Two types of actions are recorded: pageLoaded, pageUnloaded |
Events by page_length | ✅pass | Page length is recorded. Round down to the 1st digit |
Events by access method | ✅pass | Two types of access methods are recorded: desktop, mobile web |
Events by agent type | ✅pass | We can identify and exclude spider in analysis |
Read length | ✅pass | Reading time is captured. For all events on pilot wikis between 2022.4 and 2022.5 excluding spiders, the average reading length is 1623.944 sec, median is 29.111 sec. |
Bugs/Potential Issues
Issue | Status | Note |
---|---|---|
Instrumentation is only enabled on enwiki, has not been enabled on pilot wikis | ✅ Fixed | Enabled on 22 pilot wikis since 2022-04-26 |