Page MenuHomePhabricator

[SessionLength] View how long users interact with our products
Open, Needs TriagePublic



As a way of understanding the behavior of readership of our users, the page view metric has been limiting to what it allows us to understand. Instead, we want to have the capability of measuring and viewing how long users are interacting with our products. This will be provided through:

  1. Making instrumentation available that tracks the session length of users
  2. Enabling data consumers to query and view session length across different dimensions
Use Cases
  • Given there will be a unique identifier to associate a user's journey through using our applications, there are opportunities to use this as a unifying metric to piece together different actions and steps users take in achieving a goal we want to understand better.
    • e.g. As we want to better understand what types of users complete an edit, a session ID can be the link between what a user does first and last before making a complete edit.
Acceptance Criteria
  • As a data consumer, I want the ability to query the aggregation of how long users are active in a given period of time (session lengths).
  • As a Product Manager and Data Consumer, I want Session Length to be representative for web activity across all devices, on all public wikis, across all features
    • Final Instrument is deployed to all wikis
  • As a stakeholder who does not run queries, I want access to reports and summaries (visualizations) about SessionLength in superset
    • Superset queries run within 60 seconds
  • Data QA checks must pass for both raw and aggregated data
Out of Scope
  • Querying SessionLength for specific features
  • SessionLength specific to iOS and Android native apps
  • Providing a unique ID for a given users' session
  • SessionLength Data Cube available in Turnilo
  • SessionTick instrument
  • Visualization Dashboard
    • v0.0.1 Static Report
    • v0.0.2 Data Cube
  • Q: What aggregations are possible in using session length?
  • Q: What are the differences between Session ID and Session Length?
    • A: Session length metric is defined by the aggregations of many users' session lengths. Session ID is a unique identifier which could be used to identify a specific users' session. Due to privacy reasons, Session Length metric was designed to not allow for unique identifiers like session IDs to be associated to users' session lengths.
  • Q: Who will be maintaining sessionTick?
    • A: The PDE Team will be owning the maintenance of sessionTick instrument as it is a "platform" instrument that covers the broad spectrum of client teams.

Related Objects


Event Timeline

sdkim moved this task from Inbox to Goals on the Product-Data-Infrastructure board.Nov 9 2020, 4:35 PM
LGoto moved this task from Triage to Tracking on the Product-Analytics board.Nov 10 2020, 6:12 PM

Mentioned in SAL (#wikimedia-operations) [2020-12-01T18:03:03Z] <mholloway-shell@deploy1001> Synchronized wmf-config/InitialiseSettings.php: Enable session length instrument on officewiki T267494 (duration: 01m 06s)

sdkim updated the task description. (Show Details)Jan 7 2021, 4:12 PM
sdkim updated the task description. (Show Details)Jan 27 2021, 5:13 PM