]> i-scream Git - www.i-scream.org.git/commitdiff
Add new analytics code.
authorTim Bishop <tim@bishnet.net>
Thu, 10 Mar 2016 00:28:09 +0000 (00:28 +0000)
committerTim Bishop <tim@bishnet.net>
Thu, 10 Mar 2016 00:32:09 +0000 (00:32 +0000)
htdocs/menu.inc

index 0f26e0223c6ff8bd0de526609e588460e67b7647..7dafbfae229ecc97cfcbf2ccacb5d59184ab96f1 100644 (file)
           </a>
         </p>
       </div>
-      <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
-      </script>
-      <script type="text/javascript">
-        _uacct = "UA-1579330-1";
-        urchinTracker();
+      <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-1579330-1', 'auto');
+        ga('send', 'pageview');
       </script>
\ No newline at end of file