[Archivesspace_Users_Group] Google Analytics
Chris.Fitzpatrick at lyrasis.org
Thu Sep 17 09:00:18 EDT 2015
There was a request on how to enable google analytics in ASpace. I was going to write a plugin for this, but it's actually so simple, it might be easiest just to use the local plugin instead of having a dedicated plugin.
2) Ensure that the local plugin is enabled in your config/config.rb ( it is by default )
3) add your tracking code to a file called plugins/local/public/views/layout_head.html.erb
4) Restart ASpace
Once the server restarts, you should start seeing traffic come in on the real time app window.
Chris Fitzpatrick | Developer, ArchivesSpace
Skype: chrisfitzpat | Phone: 918.236.6048
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Archivesspace_Users_Group