Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use stored date range when downloading or sending email reports once #11367

Open
ma2thieu opened this issue Feb 20, 2017 · 16 comments
Open

Use stored date range when downloading or sending email reports once #11367

ma2thieu opened this issue Feb 20, 2017 · 16 comments
Labels
c: Consistent Reports & Analytics UX For bugs and features that make Analytics reporting UI behave more consistently. c: Onboarding For issues that make the experience of getting Matomo up and running better. c: Usability For issues that let users achieve a defined goal more effectively or efficiently.

Comments

@ma2thieu
Copy link

ma2thieu commented Feb 20, 2017

The period in the email report is the same as the one defined on the page All Websites and not the one defined by the field Email schedule of the report.
piwik 3.0.1

@Findus23
Copy link
Member

Findus23 commented Feb 20, 2017

If I remember correctly, this is intended. If you manually send a report (or download it) it uses the currently selected period, while the daily/weekly/monthly sent report uses the last day/week/month.

@ma2thieu
Copy link
Author

But the weekly report I received by mail this morning had the right title (Date range: week February 13 – 19, 2017) but the wrong numbers, the numbers were the stats from yesterday (Sunday 19) only, not the stats from last week.

I understand it's intended but I find it confusing that the report I manually send (or download) and the one I receive by mail are not the same.

@mattab
Copy link
Member

mattab commented Feb 20, 2017

It sounds like there is a bug ie. when you send a report set as "weekly" but for a "day" then the report itself should not mention "weekly" or it would be confusing.

@ma2thieu can you post here a screenshot showing the problem wording?

@ma2thieu
Copy link
Author

This is the weekly email I received this morning :

screenshot - 02202017 - 10 24 12 am

And the real weekly stats for these websites :

screenshot - 02202017 - 10 25 12 am

@ma2thieu
Copy link
Author

Actually it's not even the daily stats, the numbers in the report are wrong :

The email received this monday morning :

screenshot - 02272017 - 09 12 27 am

The daily stats from the dashboard :

screenshot - 02272017 - 09 12 48 am

The weekly stats from the dashboard :

screenshot - 02272017 - 09 13 13 am

@tsteur
Copy link
Member

tsteur commented Feb 28, 2017

For some reasons the pictures don't show up here. What timezone is your website in? Does it work when you create the same report again in a second report?

@mattab mattab added the Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users. label Mar 21, 2017
@mattab mattab added this to the Priority Backlog (Help wanted) milestone Mar 21, 2017
@M13iriam
Copy link

I have a similar problem. I have a weekly report and report period set to weekly. My report from this week of july: 8.–14. 2019 shows me data from these periods: 17.-23.12.18, 11.-17..02.19, 08.-14.04.19 and 03.-09.06.19.

@M13iriam
Copy link

I also configured three test reports, sent to me daily but with different rage of report (day, wee, year) and I still got three times exactly the same report about the data from 22.-28. of July. At least this time for whatever reason the graphs were also showing this range.

@fvdm
Copy link

fvdm commented Dec 17, 2019

I have the same problem. When the email report is generated it takes the period that is set in Matomo when viewing stats (ie. Dashboard). The period you set in the email report settings is ignored or maybe overwritten.

Steps:

Matomo 3.13.0 on premises

  1. Set your overal date range in the Matomo header to Day.
  2. Go to Admin > Personal > Email reports.
  3. Create a new email report.
  4. Set Report Period to Month, select Visitor summary or other useful stats and save it.
  5. Click the Download link for the new report.

The line graphs do show the whole month, but the tables only have the stats for the day selected in the overal Matomo date range.

  1. Set the date range in the Matomo header to Month.
  2. Click the Download link of the report.

Now you get the tables for the whole month.

@utrautmann
Copy link

The line graphs do show the whole month, but the tables only have the stats for the day selected in the overal Matomo date range.

Yes, same thing is here. When the date range in the Matomo header is different to the report setting, then the Download or Email-Link-Function generates wrong values.

Another strange behaviour is, when you set following
grafik

Then the line graphs shows the last 6 days
grafik

@Findus23
Copy link
Member

Hi,

As far as I know the "Download or Email-Link-Function" always take the currently selected date range in Matomo, not what is configured for the Report.

@utrautmann
Copy link

Hi,
yes, it has been like this for years. But why? It's irritating from a usability point of view.
Anyone I know who uses this feature for the first time or after long time believes there is a bug in their report configuration.
It takes time to figure out that it might have something to do with the date range above.

Is it not possible to set the period settings from the report in the two links and not those from the calendar?

@Findus23 Findus23 added c: Onboarding For issues that make the experience of getting Matomo up and running better. c: Usability For issues that let users achieve a defined goal more effectively or efficiently. and removed Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users. labels Oct 17, 2020
@Findus23 Findus23 changed the title Wrong period for email report Use stored date range when downloading or sending email reports once Oct 17, 2020
@mattab
Copy link
Member

mattab commented Oct 18, 2020

I reckon more users would maybe want to see the report use the period as it was setup (otherwise it would be confusing also). But for sure it's not very usable and understand your point. Maybe it would work to give users the option or show 2 download and 2 email links instead of 1 each...

@tsteur
Copy link
Member

tsteur commented Nov 1, 2020

same here: #16644

@CoreyBurger
Copy link

Here from #16644. I suggest that the download or send report link use the report as setup, as from a new users perspective, it looks like a bug and my use case was "Is this report working correctly? Does it show what I want?".

To solve the use case of "give me a scratch report of the selection on the main screen", I would add a button there to do that on the main screen.

@tsteur
Copy link
Member

tsteur commented Jul 19, 2021

In #17791 was suggested to show a tooltip or a footer message explaining this.

@mattab mattab added the c: Consistent Reports & Analytics UX For bugs and features that make Analytics reporting UI behave more consistently. label Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Consistent Reports & Analytics UX For bugs and features that make Analytics reporting UI behave more consistently. c: Onboarding For issues that make the experience of getting Matomo up and running better. c: Usability For issues that let users achieve a defined goal more effectively or efficiently.
Projects
None yet
Development

No branches or pull requests

8 participants