Page MenuHomePhabricator

🔎️ Investigate | Form analytics showing very little data for address form on confirmation page
Closed, ResolvedPublic

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 subscriber: Aklapper. · View Herald Transcript

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 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.

Looks good, let's deploy this to production.

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

kai.nissen claimed this task.