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!
https://matomo.org/
GNU General Public License v3.0
19.89k stars 2.65k forks source link

Evolution reports sent by mail only export totals #17995

Open airblag opened 3 years ago

airblag commented 3 years ago

Hi,

We set up a custom report of type evolution. When exporting it over the web interface as CSV, we get a list with Date, Visits, Unique visitors. With one line per day for the last month.

When setting up the email reporting for this report, we only get one line with the totals for the report period.

Sending a graph per mail shows values correctly for the month, but the table only shows totals.

We tried to play with the Report period and report schedule, but it doesn't change this behavior.

For me it looks like a bug.

Could you confirm that ?

Thanks

sgiehl commented 3 years ago

@airblag Does this only happen for reports created with the custom reports plugin?

airblag commented 3 years ago

@sgiehl Unfortunately, it happens with all reports. In between, I think it's designed like this, and it's not a bug.

My user is expecting the email report to be like the export function. To export metrics as the columns, and dates as the rows. In the E-Mail reporting, the Tables are built differently : label and value(s). The period only influences the calculation of the total values for each label. As a workaround I can build some email reporting with the whished CSV file from the export URL to make my user happy.

Unless you see here a possible need for UX improvement, I guess we can close this ticket.

tsteur commented 3 years ago

@airblag just to fully understand, could you send us a screenshot of the exact report configuration? Like chosen format, chosen reports, display options etc.

Thanks for this. We'll check then as well if it's meant to be like that or not.

airblag commented 3 years ago

The custom report config I'm working with :

2_matomo_customreport

How it's displayed when calling it directly :

3_matomo_customreport

The HTML Export which is produced (that my user wanted to get regulary by mail)

4_matomo_customreport

And now, the config of the Mail report :

5_matomo_mailreport 6_matomo_mailreport

This is the only Report which is included (from the custom reports section)

7_matomo_mailreport

Overview of the Personal Email Reports

8_matomo_mailreport

And the output when you clik on "Download" (with the totals instead of the table of the 3rd screenshot)

9_matomo_mailreport

tsteur commented 3 years ago

I see. Thanks for explaining this @airblag

That is currently actually expected behaviour.

I'll keep this issue open as a feature request just in case we'll work on this in the future and to see if other users find this valuable too.

Basically, what would be wanted is instead of this

image

Show the values for each subperiod in a table like this image