Page MenuHomePhabricator

🔎️ Investigate | Form analytics showing very little data for address form on confirmation page
Open, Needs TriagePublic

Description

The form analytics plugin of our web analytics software is supposed to collect usage data automatically when the id or the name attribute of a form tag is set. There is only very little data about the address form on the confirmation page. In order to analyse the usefulness of giving another opportunity to provide address data, we should have some data.

https://tracking.wikimedia.de/index.php?module=CoreHome&action=index&idSite=1&period=day&date=today#?idSite=1&period=day&date=2019-11-25&category=FormAnalytics_Forms&subcategory=803&popover=

Event Timeline

Restricted Application added a project: WMDE-FUN-Team. · View Herald TranscriptMon, Nov 25, 2:49 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
kai.nissen moved this task from Heap to Incubation on the WMDE-FUN-Funban-2019 board.
kai.nissen updated the task description. (Show Details)Mon, Dec 2, 10:29 AM
kai.nissen moved this task from Incubation to Heap on the WMDE-FUN-Funban-2019 board.
kai.nissen removed kai.nissen as the assignee of this task.Mon, Dec 2, 10:32 AM
Tim_WMDE claimed this task.Mon, Dec 2, 2:43 PM
Tim_WMDE moved this task from Heap to Doing on the WMDE-FUN-Funban-2019 board.

I think we already do track the form the properly by pushing FormAnalytics::trackFormSubmit to Matomo. I have added a call for FormAnalytics::scanForForms as advised by the Matomo documentation whenever the modal is opened, this could possibly improve the tracking of the form. Full PR is here:

https://github.com/wmde/FundraisingFrontend/pull/1684

This should probably be user-tested on Test before it's pushed to prod, just to be sure this did not break the tracking in a weird way.

Tim_WMDE removed Tim_WMDE as the assignee of this task.Mon, Dec 2, 4:41 PM
Tim_WMDE moved this task from Doing to Code Review on the WMDE-FUN-Funban-2019 board.
Tim_WMDE added a subscriber: Tim_WMDE.

@kai.nissen The changes have been merged and you can test it on the test environment.

Looks good, let's deploy this to production.

kai.nissen removed a subscriber: kai.nissen.

Looks good, let's deploy this to production.

Famous last words, it's deployed on prod now.

Tim_WMDE moved this task from Deploy to Done on the WMDE-FUN-Funban-2019 board.Wed, Dec 4, 2:36 PM