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

Inconsistent Data Presented Over Time #2672

Closed
petetisa opened this issue Apr 12, 2024 · 5 comments
Closed

Inconsistent Data Presented Over Time #2672

petetisa opened this issue Apr 12, 2024 · 5 comments
Labels
bug Something isn't working fixed in dev Fixed in the dev branch

Comments

@petetisa
Copy link

Describe the Bug

Statistical results are not consistent when choosing the filter over time drop-down on Dashboard and property detail views. I recently installed/started tracking data on four web properties using Umami mid-week/mid-month. 2-3 days worth of data collection should report consistent total views/visits, etc. Attached screenshots illustrate the erroneous results.
01-stats-1-week
02-stats-7-days
03-stats-30-days
04-stats-this-month
05-stats-6-months

Database

MySQL

Relevant log output

No response

Which Umami version are you using? (if relevant)

2.11.1

Which browser are you using? (if relevant)

Chrome

How are you deploying your application? (if relevant)

Self Hosted

@mikecao
Copy link
Collaborator

mikecao commented Apr 12, 2024

Hey Pete, how are you? Long time no see. 😄

So I think this might just be a terminology issue. When you select This week, it counts the days from Sunday to Saturday. When you select last 7 days, it counts the past 7 days, excluding today. So if you had a lot of traffic today, those numbers would be different. Same idea for last 30 days versus this month. And when you select last 6 months, it includes the previous 6 months, excluding the current month. If you look at the graph bars, I think it will be more clear.

If that's not the case, then we can dive deeper into your data to troubleshoot.

@mikecao
Copy link
Collaborator

mikecao commented Apr 12, 2024

But it could also mean we have it wrong and maybe we should include the current day by default.

@petetisa
Copy link
Author

Thx for the ACK Mike and I'm a big fan of your projects. Back to business:

I processed your explanation and it now makes sense why I get the results I see. My only input would be that it is not intuitive. Maybe consider adjusting the query parameters based on the Filter selected. E.g. The 6 month filter should return the full result set right?

As an aside, I'm also using your Flight Framework in a number of projects and excited to see that get some traction.

@mikecao mikecao added the bug Something isn't working label Apr 13, 2024
@mikecao
Copy link
Collaborator

mikecao commented Apr 13, 2024

Alright, we'll change it so it always includes the current time period.. I think that makes more sense.

@petetisa
Copy link
Author

@mikecao Thank you for considering my concerns/suggestions. I'm by no means an expert regarding web analytics. Like many I've been using GA for years and just excited to see more competitive products that align with end-user privacy and data ownership. You and the other contributors to this project are doing great work. My colleagues who consume the data love the clean interface and I like the API feature.

I don't believe there is a roadmap published, but for what it's worth, the "user segmentation" feature I noticed in Discussion, for lack a better descriptor, is exciting.

Thanks for all your hard work, and I hope to contribute in some way in the future. We'll have to catch-up personally some time soon.

@mikecao mikecao added the fixed in dev Fixed in the dev branch label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed in dev Fixed in the dev branch
Projects
None yet
Development

No branches or pull requests

2 participants