[ros-diffs] [cfinck] 431: Add the Google Analytics tracking code

cfinck at svn.reactos.org cfinck at svn.reactos.org
Thu Jun 11 00:45:55 CEST 2009


Author: cfinck
Date: Thu Jun 11 02:45:54 2009
New Revision: 431

URL: http://svn.reactos.org/svn/reactos?rev=431&view=rev
Log:
Add the Google Analytics tracking code

Modified:
    branches/danny-web/www/www.reactos.org/wiki/skins/RosCMS.php

Modified: branches/danny-web/www/www.reactos.org/wiki/skins/RosCMS.php
URL: http://svn.reactos.org/svn/reactos/branches/danny-web/www/www.reactos.org/wiki/skins/RosCMS.php?rev=431&r1=430&r2=431&view=diff
==============================================================================
--- branches/danny-web/www/www.reactos.org/wiki/skins/RosCMS.php [iso-8859-1] (original)
+++ branches/danny-web/www/www.reactos.org/wiki/skins/RosCMS.php [iso-8859-1] Thu Jun 11 02:45:54 2009
@@ -254,6 +254,18 @@
 
 -->
 <?php endif; ?>
+
+<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-610991-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+
 </body></html>
 <?php
 	wfRestoreWarnings();



More information about the Ros-diffs mailing list