USEPA / EPA_Environmental_Dataset_Gateway

U.S. EPA’s Metadata Catalog
https://edg.epa.gov
3 stars 2 forks source link

Capture visits to details page in database for use in metrics #15

Open torrin47 opened 7 years ago

torrin47 commented 7 years ago

From @torrin47 on March 14, 2017 23:51

There is legacy code that records when someone clicks "Open" in the search results. This isn't useful to be capturing anymore - there are too many other ways of visiting the same resource and bypassing this way of being counted. We're recording details page visits using google analytics, but that's challenging to link back to owners (which is how EPA wants to be able to summarize all metrics). If we could capture and record a count of any request for a full record (both the details page which is captured by Google Analytics and the raw metadata which isn't) and store it in the database, then we'd be able to add page visits by record/owner to the metrics page.

_Copied from original issue: Innovate-Inc/EDGmetadata#87