[Patchwork-commits] r132 - www

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue May 8 15:14:40 CEST 2012


Author: sebastian_d
Date: 2012-05-08 15:14:40 +0200 (Tue, 08 May 2012)
New Revision: 132

Modified:
   www/index.php
Log:
added google analytics to site

Modified: www/index.php
===================================================================
--- www/index.php	2012-05-04 12:48:22 UTC (rev 131)
+++ www/index.php	2012-05-08 13:14:40 UTC (rev 132)
@@ -31,6 +31,20 @@
 
 <script type="text/javascript" src="js/popup.js"></script>
 
+<script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-31529932-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>
+
 </head>
 
 <body>



More information about the Patchwork-commits mailing list