]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
move analytics to top
authorTyler '-z-' Mulligan <z@interwebninja.com>
Thu, 3 Oct 2013 20:03:19 +0000 (16:03 -0400)
committerTyler '-z-' Mulligan <z@interwebninja.com>
Thu, 3 Oct 2013 20:03:19 +0000 (16:03 -0400)
xonstat/templates/base.mako

index 580d4f3f74ec566b4e447d662871703169f1faca..d8ab34aece6996ee4f17fff7f231709eb40b5094 100644 (file)
     <link href="/static/css/bootstrap.min.css" rel="stylesheet">
     <link href="/static/css/app.min.css" rel="stylesheet">
     </%block>
+    <!-- GOOGLE ANALYTICS -->
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-30391685-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>
         e.setAttribute('title', d.toDateString() + ' ' + d.toTimeString());  
       });
       </script>
-
-      <!-- GOOGLE ANALYTICS -->
-      <script type="text/javascript">
-      var _gaq = _gaq || [];
-      _gaq.push(['_setAccount', 'UA-30391685-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>
-
     </body>
 </html>