website: add google analytics for statistics
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 1 Mar 2011 22:20:16 +0000 (23:20 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 1 Mar 2011 22:20:16 +0000 (23:20 +0100)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
docs/header.html

index beb85e98a7a94f24e85904159db3e06d3e63989c..c8cb135f55e8efa54a6572dc561270c6f0eda260 100644 (file)
      td.c2 {font-family: arial, helvetica, sans-serif; font-size: 80%}
      td.c1 {font-family: lucida, helvetica; font-size: 248%}
     </style>
+<script type="text/javascript">
+
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-21761074-1']);
+  _gaq.push(['_setDomainName', 'none']);
+  _gaq.push(['_setAllowLinker', true]);
+  _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>