Closed wwelling closed 7 months ago
.
There is a Google analytics configuration, for Google tags, built in. We may only need to create an environment variable for the actual tag key and uncomment the line in the dspace.cfg file. https://github.com/TAMULib/DSpace/blob/9381bcc575ccb5528c802b9033f1bfde160e818a/dspace/config/dspace.cfg#L1504
Confirm with @bonniegardner and @jcreel whether we want to utilize DSpace 7 server-side Google analytics and add Google tag manager scripting to the index.html in dspace-angular.
Options:
Note that if choosing to implement a custom dspace-angular component to incorporate google analytics tag manager we will not be able to provide analytics for browsing with JavaScript disabled and would have additional complexity to enable Google Analytics for bitstream download links.
https://support.google.com/analytics/answer/6165470?hl=en
I recommend we just configure following https://wiki.lyrasis.org/display/DSDOC7x/DSpace+Google+Analytics+Statistics.
Do we want to track bitstream downloads using Solr and/or GA4?
Spreadsheet w/ the google tags available. (Bonnie has it) (https://drive.google.com/drive/folders/1PSXJcEQEgOZcVL0_ZN7EsuTiyzMzVHXh)
Inserted using entrypoint and set using an env variable in the production deployment.