matomo
matomo copied to clipboard
[Bug] 'Compare to' feature in the calendar produces odd chart and metric anomalies
What happened?
When using the 'compare to' option in the calendar evolution charts often show large erroneous values such as 6,000% conversion rates and single days with way more visits and conversions than actual. This can also lead to zero values for some metrics. This was reproduced with Cloud and On-premise...
What should happen?
An accurate presentation of metrics for both periods.
How can this be reproduced?
Create a 'compare to' view in the calendar for a specific period and view charts and metrics.
Matomo version
5.0.2
PHP version
8.2
Server operating system
Linux
What browsers are you seeing the problem on?
Chrome
Computer operating system
NA
Relevant log output
No response
Validations
- [x] Read our Contributing Guidelines.
- [X] Follow our Security Policy.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating duplicates.
- [X] The provided steps to reproduce is a minimal reproducible of the Bug.
These are probably cases of "double formatting", will forward for prioritization so we can check if there is a reasonable fix to apply until #20701 is being worked on.
Most of the formatting issues are likely also reproducible with Matomo 4.x.
Another user reported this same problem.
We have noticed that when we compare two time periods...conversion rates of >100% are displayed
What happened?
:slightly_frowning_face: Failure! Look at the rate in these. These data are exactly 100x too large, compared to the other two screenshots.
This bug seems to happen whenever using the "compare to previous time period".
:
What should happen?
:slightly_smiling_face: Success! Look at the rate in these.
The bug disappears as soon as you make time period not a comparison-to-prior-time-period
How can this be reproduced?
- Go to either Matomo>>Goals>>Overview or Matomo>>Ecommerce>>Overview
- In the evolution graph, choose "Conversion Rate"
- Notice the rate for any point on the graph
- Switch the time period to "Compare to Previous Period" option
- Notice the rate for the same point as 3, above. (Notice that it is exactly 100 times too great now.)
Matomo version
5.0.3 On Premise
I am also dealing with this issue. Impacts a parent company that leverages Matomo heavily for ecommerce with +30 brands and teams.