Improve tracking of page performance metrics #22339
Labels
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone
Summary
The tracking of page performance metrics is currently designed in a way, that the initial page view tracking request will only contain those performance metrics that are available at that point. Normally tracking is done before events like page load are triggered, so all metrics getting available later won’t be tracked initially. If there is a second tracking request send within this page view (like ping, contents, event, goal, …), it may contain all additional performance metrics and the page view dimensions will be updated accordingly. If no additional tracking happens, the metrics will stay empty for that page view. So it strongly depends on the tracking implementation whether all performance metrics are tracked always or not.
To ensure that all performance metrics are tracked we should consider to automatically send a ping request (if enabled), once all performance metrics are available.
refs #16541
Your Environment
The text was updated successfully, but these errors were encountered: