Trace:
wiki:google_analytics
This is an old revision of the document!
Google Analytics
There are a few things that you need to know about http://ece.byu.edu Google Analytics and how it works. First, there is a certain piece of code that you need to know. This is a tracking code that Google Analytics uses to track site traffic. This code is “UA-9342466-4”.
This is how it is for each of the following domain: http://devweb.byu.edu - UA-9342466-6 http://eceweb.byu.edu - UA-9342466-5 http://ece.byu.edu - UA-9342466-4
<script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-9342466-4"); pageTracker._trackPageview(); } catch(err) {}</script>
Instead of putting this in each one of the pages, I have a footer that is called and a link to this page is in that code. It all links to /var/www/templates/template2009/scripts/ga.js
wiki/google_analytics.1548287712.txt.gz · Last modified: 2019/01/23 16:55 by mchamber