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

Investigate why not all downloads from EarthWorks are being reported in metrics on PURL #948

Open
amyehodge opened this issue Jan 19, 2024 · 1 comment

Comments

@amyehodge
Copy link
Collaborator

Earlier today I downloaded content from https://earthworks.stanford.edu/catalog/stanford-zh181bb7989 using the "Original shapefile" button under the download section on the right-hand side of the page. This accesses a stacks.stanford.edu URL, which is expected to log a download via Ahoy. @thatbudakguy verified that this did indeed register a download in the database.

However, I had checked the PURL page at https://purl.stanford.edu/zh181bb7989 prior to downloading the file and then after, and noticed that the download count did not increase.

I later tried this as well for the "Original shapefile" download at https://earthworks.stanford.edu/catalog/stanford-hp348jr8547. This time the PURL page did show an increment in the download count.

I would expect both of these actions to increase the reported download count on PURL. This ticket is to investigate why this is not happening and suggest/implement a solution for this.

@thatbudakguy
Copy link
Member

this almost certainly has to do with the way events are unique'd by visit; I could see all of the events being logged, but the count of unique events did not go up.

@amyehodge amyehodge changed the title Investigate why not all downloads from EarthWorks are not being reported in metrics on PURL Investigate why not all downloads from EarthWorks are being reported in metrics on PURL Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants