Page MenuHomePhabricator

[Engineering] Survey for sucess metrics
Open, Stalled, Needs TriagePublic

Description

Create a survey to measure user feedback for changes - from this product ticket: https://phabricator.wikimedia.org/T386351

QuickSurveys already exist at Wikimedia - see documentation here: https://www.mediawiki.org/wiki/Extension:QuickSurveys#Configuration

Acceptance criteria:

  • Research whether to use existing QuickSurveys or some other mechanism
  • Implementation

Checklist:

Event Timeline

About QuickSurvey that already exists:

Additionaly, we will need the following info for segmentation:

  • minEdits: the minimum number of edits a user must have. Default: no minimum
  • maxEdits: the maximum number of edits a user must have. Default: no maximum
  • anons: is the survey targeted to anons (true) or logged-in (false) only? Default: both anonymous and logged-in users are included.
  • registrationStart: if the survey is targeted by registration date, user had to join on or after this date. Date is in format YYYY-MM-DD. Default: no limit
  • registrationEnd: if the survey is targeted by registration date, user had to join before or on this date. Date is in format YYYY-MM-DD. Default: no limit
  • countries: a list of two letter country codes that are matched against window.Geo.country. Default: no country filter
  • pageIds: a list of article IDs, the survey can only be displayed on matching pages. Default: no page filter
  • firstEdit: a date range consisting of 'from' and 'to' keys that specify the range the user's first edit needs to be within. Default: no limit
  • lastEdit: a date range consisting of 'from' and 'to' keys that specify the range the user's last edit needs to be within. Default: no limit
  • userAgent: browsers that should see the quick survey.
  • platforms - This mandatory, top-level survey configuration field allows filtering against $wgMFMode. For "desktop", the only matching value is "stable". For "mobile", the possible modes are "stable" or "beta", which is enabled when the MobileFrontend anonymous-user beta feature option is checked.

https://www.mediawiki.org/wiki/Extension:QuickSurveys#Configuration

@Jdlrobson-WMF - we want to add a QuickSurvey to the 'Recent Changes' and 'Watchlist' pages, and the documentation says that QuickSurvey is only supported for article pages currently.

Do you have an idea of how much work it would be to support QuickSurvey on a non-article page?

Please feel free to direct us to who to contact about this - on the QuickSurveys page it says to contact agomez@wikimedia.org but they no longer work at WMF

Thiemo says that in the Tech Wishes team, they:

  • Have a CentralNotice banner on top that asks the user to contribute and links to an external survey.
  • Add a notification box in the code that appears in a good spot in the UI and asks the user the same question.

Here's a doc with screenshots of existing implementations of these kinds of user feedback mechanisms:
https://docs.google.com/document/d/1kYaIe-KSaM1FiJCZ6YcocpgTSM5q5Ki3RZWRcYWSKS0/edit?tab=t.0

Do you have an idea of how much work it would be to support QuickSurvey on a non-article page?

We do not currently support surveys on special pages. This is tracked in T387846. As a workaround you can use the deprecated mw.extQuickSurveys until then. T390782: Deprecate mw.extQuickSurveys

Do you have an idea of how much work it would be to support QuickSurvey on a non-article page?

We do not currently support surveys on special pages. This is tracked in T387846. As a workaround you can use the deprecated mw.extQuickSurveys until then. T390782: Deprecate mw.extQuickSurveys

Thanks for the feedback. We met with the Reader Experience team last week to discuss this, and we won't use the workaround for Quick Survey. We've found a different solution.