osulp / Scholars-Archive

ScholarsArchive@OSU, institutional repository for Oregon State University
https://ir.library.oregonstate.edu/
14 stars 3 forks source link

[Analytics] Configure Google Analytics to track all traffic #274

Closed vantuyls closed 7 years ago

vantuyls commented 8 years ago

We need to ensure that both bitstream and other things

wickr commented 8 years ago

Is this any different than #118 and #125 ?

revgum commented 8 years ago

feature/GoogleAnalyticsServerSide branch: This branch has a functional server-side Google Analytics posting both an Event and a Pageview for direct link file downloads.. this seems like a decent starting point. You gotta ‘bundle install’ the new gem, and set config/initializers/sufia.rb to a legit GA tracking code to test

zhang4952 commented 7 years ago

branch restored at: https://github.com/osulp/Scholars-Archive/commit/5ecc239da1ae04574959a45377fde0bc4f96504c

zhang4952 commented 7 years ago

Solution from UCSD is to get the direct-link downloads from parsing web logs, not to deal with Hydra codes. It could be a feasible approach because we will include ES statistics to GA anyway, should we update GA cache for this purpose?

wickr commented 7 years ago

Parsing web logs is not a good approach for us since we've moved away from them almost completely with Google Analytics.

vantuyls commented 7 years ago

closing this in deference to #309