User story & summary:
As the Growth team, we want to migrate the Impact Module away from Growth’s custom User Impact API and instead use the Wikimedia Analytics API, so that Impact Module metrics are powered by a more stable, scalable, and supported data source.
Background & research:
Growth's User Impact API was originally created to meet immediate data needs for the MVP version of the Homepage Impact Module. It was intended as a temporary solution and is not designed for long term scalability or broader reuse.
The Data Engineering team has since expanded the Wikimedia Analytics API to support editor focused metrics that align well with the Impact Module’s requirements. Given this progress, Growth should evaluate and prototype a migration to these officially supported endpoints.
Relevant documentation:
- Daily updated number of edits made by an editor - https://doc.wikimedia.org/generated-data-platform/aqs/analytics-api/reference/edits.html#get-number-of-edits-made-by-an-editor
- Number of page views for an editor's edited pages - https://doc.wikimedia.org/generated-data-platform/aqs/analytics-api/reference/page-views.html
- Most-viewed pages for an editor's edited pages - https://doc.wikimedia.org/generated-data-platform/aqs/analytics-api/reference/edits.html#get-number-of-edits-made-by-an-editor
Scope and Goals
- Validate that the Wikimedia Analytics API can fully support the data needs of certain data points displayed in the Impact Module. My understanding is that we can't fully switch over, but that hopefully the data displayed within the green boxes can now be served via the Wikimedia Analytics API.
- Identify any differences in data availability, freshness, or calculation methods that may affect the user experience.
- Reduce long term maintenance and ownership burden by relying on shared analytics infrastructure.
Acceptance Criteria
Timeboxed Research spike: DPE is planning to work on more contributor metrics (for Year in Review and the Impact Module) and we simply want to answer the question: will their recent work actually work for Special:Impact? If not, why?
