Page MenuHomePhabricator

Add local tracking for time spent on Article - Android
Closed, ResolvedPublic

Description

Background

In 2024-2025 the iOS team built a personalized Wikipedia Year in Review feature T371946. During development and after release, we identified several improvements to the App's local tracking that need to be made in early 2025 so that we have data for the version that releases on Android and iOS in December 2025. that can be made if we iterate on this project with a version for 2025.

Total time spent on the app, or time spent on different articles was the 3rd most popular personalization request from users in the the feedback survey on iOS's year in review.

User stories
  • I would like to see my total time spent on the Wikipedia App so I can understand how much I depend on Wikipedia throughout the year.
  • I would like to see which articles I spent the most time reading, so I can learn more about my learning journey this year.
Requirements
  • Locally store the number of seconds a user spends on an article
  • Data should be accessible for use in a Year in Review report / slide, for statistics like
    • Total time spent in the App
    • Article they spent the most time on
    • Average time spent on an article
Engineering Notes
  • We already have a boolean value “Was significantly viewed” true or false - if they are on an article for 30 seconds or more, we turn this on. This powers the "Because you read" explore feed card
  • We could start tracking the amount of time they spent on an article here instead of or in addition to the boolean value