[Swift-commit] r4978 - wwwdev/main
davidk at ci.uchicago.edu
davidk at ci.uchicago.edu
Wed Aug 10 15:23:00 CDT 2011
Author: davidk
Date: 2011-08-10 15:22:59 -0500 (Wed, 10 Aug 2011)
New Revision: 4978
Modified:
wwwdev/main/index.php
Log:
Google analytics code for new site
Modified: wwwdev/main/index.php
===================================================================
--- wwwdev/main/index.php 2011-08-10 19:17:44 UTC (rev 4977)
+++ wwwdev/main/index.php 2011-08-10 20:22:59 UTC (rev 4978)
@@ -18,6 +18,20 @@
<![endif]-->
<script type="text/javascript" src="http://use.typekit.com/dbf2lqy.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+
+<!-- Google analytics -->
+<script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-25069254-1']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+</script>
+
<!-- Run the plugin -->
<script type="text/javascript">
$(window).load(function() {
More information about the Swift-commit
mailing list