[Midnightbsd-cvs] www: footer.html: Add "new" google tracking code instead of the old
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Tue Jul 15 20:32:13 EDT 2008
Log Message:
-----------
Add "new" google tracking code instead of the old method.
Modified Files:
--------------
www:
footer.html (r1.2 -> r1.3)
-------------- next part --------------
Index: footer.html
===================================================================
RCS file: /home/cvs/www/footer.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -L footer.html -L footer.html -u -r1.2 -r1.3
--- footer.html
+++ footer.html
@@ -3,11 +3,15 @@
<p id="footertext"><a href="/copyright/index.html">Legal Notices</a> | Copyright 2005-2008 Lucas Holt
</p>
- <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
- </script>
- <script type="text/javascript">
- _uacct = "UA-560995-2";
- urchinTracker();
- </script>
+<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">
+var pageTracker = _gat._getTracker("UA-560995-2");
+pageTracker._initData();
+pageTracker._trackPageview();
+</script>
+
</div>
<!-- END FOOTER -->
More information about the Midnightbsd-cvs
mailing list