-
Notifications
You must be signed in to change notification settings - Fork 126
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
Work stats page discrepancy in the dates on mouseover for pageviews chart #3551
Comments
I can't reproduce on Firefox 68.0.1. Anyone have ideas about this one? |
I've observed this on https://nurax-dev.curationexperts.com/works/sb397849b/stats?locale=en in Firefox. The date on the x-axis is "March 23, 2021" |
Analytics work from Oregon Digital grant will be coming in before end of August. Not likely to address this particular issue but would be good to wait on this issue until after that code is merged. |
Fixes #4564 #4530 #3551 #2542 #2566 Maybe others? This work was sponsored by Oregon Digital as part of the IMLS National Leadership Grant to support its project, Open Impact: Developing Robust Analytics for Open Source Solution Bundle Hyrax. This code overhauls the built in display of reports and metrics for Hyrax. It makes it compatible with both GA v3 and Matomo and lays ground work for other adapters in the future. Changes proposed in this pull request: Turn analytics on/off, choose your analytics provider of choice (google or matomo), and set api details in an ENV file Wire up graphs on dashboard to work based off analytics data (number of total visitors, returning visitors, new user signups) New tab in dashboard sidebar for "analytics reports". Dropdown includes options for "Work Reports" or "Collection Reports" Design and develop Work and Collection reports to show views and download counts for individual files. Data is set by default to last 30 days, by month by month, as well as custom date range. This data is pulled in directly from Google or Matomo API's. View and Download counts are available to be exported to .csv format Co-authored-by: Alisha Evans <[email protected]> Co-authored-by: Sara G <[email protected]> Co-authored-by: Sara G <[email protected]> Co-authored-by: April Rieger <[email protected]> Co-authored-by: April Rieger <[email protected]> Co-authored-by: Sara G <[email protected]> Co-authored-by: tamsin johnson <[email protected]>
Analytics updates changed Work stats view to bar chart format and this date discrepancy no longer exists. |
Descriptive summary
When you mouse over the dates on the work stats or download stats page page graph, the date displayed is a day older than the date on the x-axis.
Rationale
If a user is collecting data from the chart and using the mouse over to get the page views, the information provided by the mouse over is wrong since it associates the previous day with the page views.
Expected behavior
The date on mouse over should be the same as date on the x-axis
Actual behavior
The date on mouse over is a day older than the date on the x-axis
Steps to reproduce the behavior
Go to nurax work stats page: https://nurax-dev.curationexperts.com/works/qr46r0831/stats?locale=en. Or any other work stats page. Zoom in so you can see the dates on x-axis, if the date range is too long.
For download stats, go to https://nurax-dev.curationexperts.com/files/rn301153s/stats?locale=en
Then mouse over on a data point (page view). Check the x-axis date and the date on the mouse-over display, they are different but should be the same.
The text was updated successfully, but these errors were encountered: