matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!

Home Page:https://matomo.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] "Purchased Products" column always empty for "Sales by Pages" ecommerce reports

9joshua opened this issue · comments

What happened?

The reports in Ecommerce -> Sales -> Sales by Pages includes a column for "Purchased Products". This column always shows zero regardless of reality...
Screenshot from 2024-05-22 14-35-46

Sales by Referrers do show this data:
Screenshot from 2024-05-22 14-35-59

What should happen?

Either the "Purchased Products" column should show which pages led to how many products purchased or the column should be removed.

How can this be reproduced?

View the "Products Purchased" column for any report under Ecommerce -> Sales -> Sales by Pages

Matomo version

4.16 & 5.1.0-b3

PHP version

8.1

Server operating system

Linux

What browsers are you seeing the problem on?

Chrome

Computer operating system

Ubuntu

Relevant log output

No response

Validations

Looking at the code it seems that metric simply isn't stored for actions. So we either could simply remove the column from being displayed or check if it's easy to process the data for that column correctly.