@mikkeschiren opened this Issue on July 13th 2021

When viewing the performance metrics we are missing data for most dates

Expected Behavior

When looking at performance metrics we expect to find data for all dates.

Current Behavior

We have data for different dates.


We are using Matomo 4.3.1

Data is archived with cron archiver, no errors in the logs for missing dates for performance metrics.

@diosmosis commented on July 13th 2021 Member

@mikkeschiren for days that have missing metrics, can you check in the log_link_visit_action table if there are any positive values in the performance dimension columns, for example time_dom_processing, time_dom_completion, time_network, etc.?

@mikkeschiren commented on July 14th 2021

@diosmosis - values were in fact NULL on the dates with no data that I tested, how could this happen?

@sgiehl commented on July 14th 2021 Member

@mikkeschiren are you using the normal javascript tracking? Those values should actually be automatically tracked in this case (if the users browser provides them).

@mikkeschiren commented on July 14th 2021

I will check with our analysts if they have done some changes on some dates, but with the results we are getting, that does not really make sense (couple of days per month that we have results, and then thousands of them, and next day none). But with that said - it could be an implementation problem.

@tsteur commented on July 14th 2021 Member

@sgiehl wouldn't it be expected in some cases when the tracking request is sent before the browser load event for example and there is no follow up load event?

@sgiehl commented on July 15th 2021 Member

Yes. indeed. If the page tracking event is sent before the performance metrics are available they will be sent with the next tracking request. If no further tracking request is sent, the performance metrics might not be tracked at all.
It might work to trigger a ping once the page was completely loaded

@mikkeschiren commented on July 21st 2021

This could be a implementation issue, I think we can close this now.

@tsteur commented on July 21st 2021 Member

👍 thanks for letting us know @mikkeschiren

This Issue was closed on July 21st 2021
Powered by GitHub Issue Mirror