Adding Google Analytics to a Faculty Page
Request Type:
General Assistance
Forums:
Issue/Request:
Hello, Here is a faculty member who has requested a Google Analytics report on his profile page. Below is what he has provided me to use in one form, or another. Can you assist me, please? Many thanks.
He has provided me with one, or two options:
Code: UA-69735141-1
Java Script:
<script>
(function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,’script’,’//www.google-analytics.com/analytics.js’,’ga’);
ga(‘create’, ‘UA-69735141-1’, ‘auto’);
ga(‘send’, ‘pageview’);
</script>
The only thing you need from this code is the UA # UA-69735141-1
Then use the Google Analytics module to add it to your site Instructions can be found in the How-to Guide: Google Analytics
This has been resolved by uninstalling the module and enabling it again.