Permalink
Browse files

added google analytics

  • Loading branch information...
leafo committed Oct 8, 2011
1 parent 2917b45 commit 2e870be0771b10844900931539b7b81a125a6fc0
Showing with 13 additions and 0 deletions.
  1. +13 −0 index.html
View
@@ -7,6 +7,19 @@
<script type="text/javascript" src="http://moonscript.org/highlight.js"></script>
<script type="text/javascript" src="client.js"></script>
<title>MoonScript Online Compiler</title>
+
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-136625-5']);
+ _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>
<div id="header">

0 comments on commit 2e870be

Please sign in to comment.