-
Notifications
You must be signed in to change notification settings - Fork 124
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
Single Work Analytics Page #2566
Comments
Needs:
|
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]>
Testing on Nurax-dev with Analytics update and no analytics service connected shows the Works Report for a single work has all of these updates. There's no download option in a single work report but there is an export option for the Top Works table in the Works Report for all works. That includes both page views and downloads info (and actually seems to include all Works so there is no cut-off for Top Works). The metadata showing per work in the single work report seems to somewhat match the mock-up although I haven't seen any "Approved by", "Published on", or "Last modified on" info for any single work reports I viewed (Nurax-dev data can be light on activities like those but every single work report is showing deposited date and user info). The requests in this issue seem satisfied to me. @nestorw it has been a while, but do you have any concerns or questions? |
Correction: Nurax-dev is connected to Google Analytics and that is why the single work analytics views and reports are available. When there is no analytics service connected there are no analytics graphs available from the Work view and the Analytics reports on the Dashboard (for Works and Collections) are also not available. |
Closing issue as checklist is resolved. |
Descriptive summary
Analytics for a single work
The text was updated successfully, but these errors were encountered: