Difference between revisions of "SUNScholar/Google/Analytics"
Jump to navigation
Jump to search
m |
m |
||
| Line 12: | Line 12: | ||
Our campus server is available at: http://piwik.sun.ac.za. The administrator setup an account for us and added http://scholar.sun.ac.za as a service. | Our campus server is available at: http://piwik.sun.ac.za. The administrator setup an account for us and added http://scholar.sun.ac.za as a service. | ||
| − | We were sent the following javascript code snippet to add to the XSL stylesheet file: | + | We were sent the following javascript code snippet to add to the XSL stylesheet file:<br> '''<tt>/home/dspace/source/dspace/modules/xmlui/src/main/webapp/themes/Mirage-SUNScholar/lib/xsl/core/page-structure.xsl''' |
==References== | ==References== | ||
*https://wiki.duraspace.org/display/DSDOC18/Configuration#Configuration-XMLUISpecificConfiguration | *https://wiki.duraspace.org/display/DSDOC18/Configuration#Configuration-XMLUISpecificConfiguration | ||
Revision as of 08:41, 19 August 2014
Back to Google
Open your main DSpace config file and look for:
xmlui.google.analytics.key
Enter your google analytics key.
Piwik
An alternative is to use your own Piwik statistics server. See: http://piwik.org.
Our campus server is available at: http://piwik.sun.ac.za. The administrator setup an account for us and added http://scholar.sun.ac.za as a service.
We were sent the following javascript code snippet to add to the XSL stylesheet file:
/home/dspace/source/dspace/modules/xmlui/src/main/webapp/themes/Mirage-SUNScholar/lib/xsl/core/page-structure.xsl