Page MenuHomePhabricator

Investigate Matomo behavior for content events without page impressions
Closed, ResolvedPublic3 Estimated Story Points

Description

We need to check for three possible outcomes when we replace the page impressions with content impressions, but don't change the site id:

  • content impressions will be ignored (because there is no corresponding "page" on which they take place, because in reality it's a different page (wikipedia.de))
  • the content impressions generate additional page view events for the donation start page. This will look like many people went there but then abandoned the form.
  • the content impressions are counted correctly

Note
Part of this investigation task is to use an actual tracker instance as a parameter for the new [[ https://github.com/wmde/fundraising-banners/blob/master/shared/matomo_tracker.js | MatomoTracker ]] class. Pay attention that you don't use the tracker for wikipedia.de but for spenden.wikipedia.de. You can find documentation on how to instantiate trackers for multiple sites at: https://matomo.org/blog/2017/02/complete-guide-tracking-websites-web-apps-multiple-piwiks-easily-efficiently/

Event Timeline

Tobi_WMDE_SW set the point value for this task to 3.Sep 30 2019, 11:01 AM

I've tested the current wikipedia.de with the tracker. The behavior is the desired "Content impressions are counted without page impressions". We need to change the MatomoTracker class to account for the asynchronous loading of the tracker and need to do an "integration test" with the backend, but the primary goal of this investigation is reached.

chrp moved this task from Doing to Done on the WMDE-FUN-Funban-2019 board.
kai.nissen claimed this task.