Kuali's Catalog Management system will allow you to add Google Analytics on your published catalogs to gather important data about visits to your catalog. Adding Google Analytics can be set up in a few minutes, and should require minimal IT involvement.
Note: In order to use Google Analytics, your institution will need to have an account. If you don't have one already, you can create one and learn more about using Analyitcs here.
Adding Google Analytics
On any page of your website that displays an embedded catalog, insert the following snippet anywhere before the closing </body>
tag:
<script>
var _gaq = _gaq || [];
window.onhashchange = function() {
try {
_gaq.push(['_trackPageview', window.location.href])
} catch (error) {
console.error('Google Analytics hash url tracking error')
console.error(error)
}
}
</script>
Note: The above code is written for the latest version of Google Analytics (Universal Analytics). If your institution is not currently using the latest version, reach out to your IT staff about adjustments.
Once the snipped has been added, you should begin to see page statistics appear within your Google Analytics account. If you need additional help or information, please submit a request to our support team.
Comments
0 comments
Article is closed for comments.