www: Update statistic code
authorTobias Grosser <tobias@grosser.es>
Tue, 2 Feb 2016 09:55:55 +0000 (09:55 +0000)
committerTobias Grosser <tobias@grosser.es>
Tue, 2 Feb 2016 09:55:55 +0000 (09:55 +0000)
llvm-svn: 259485

polly/www/google1242f26b67e33344.html [new file with mode: 0644]
polly/www/menu.html.incl

diff --git a/polly/www/google1242f26b67e33344.html b/polly/www/google1242f26b67e33344.html
new file mode 100644 (file)
index 0000000..1cb18f4
--- /dev/null
@@ -0,0 +1 @@
+google-site-verification: google1242f26b67e33344.html
\ No newline at end of file
index 8d57cf7..46bdcdc 100644 (file)
@@ -67,20 +67,14 @@ $(document).ready(function() {$('.rss-date').each(function() {$(this).text(myFor
  </div>
 </div>
 
-<script type="text/javascript">
-  var _paq = _paq || [];
-  _paq.push(["trackPageView"]);
-  _paq.push(["enableLinkTracking"]);
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+
+  ga('create', 'UA-66123869-2', 'auto');
+  ga('send', 'pageview');
 
-  (function() {
-    var u=(("https:" == document.location.protocol) ? "https" : "http") + "://www.grosser.es/piwik/piwik/";
-    _paq.push(["setTrackerUrl", u+"piwik.php"]);
-    _paq.push(["setSiteId", "3"]);
-    var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
-    g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s);
-  })();
 </script>
-<noscript>
-<img src="http://www.grosser.es/piwik/piwik/piwik.php?idsite=3&amp;rec=1" style="border:0" alt="" />
-</noscript>