Add Google Analytics

This commit is contained in:
synth-ruiner 2015-03-09 12:28:17 +00:00
parent 76aa1592d8
commit 8ebb5e0cc3
1 changed files with 9 additions and 0 deletions

View File

@ -656,6 +656,15 @@
$('#gameOver').hide();
});
</script>
<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-60523398-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<div id="game"></div>