mirror of
https://github.com/danbee/invaders
synced 2025-03-04 08:39:08 +00:00
Add Google analytics tracking.
This commit is contained in:
parent
2f1d23ab0a
commit
4ac849e532
10
index.html
10
index.html
@ -24,5 +24,15 @@
|
||||
<footer>Made by <a href="http://danbarber.me">Dan Barber</a> with <a href="http://phaser.io">Phaser</a></footer>
|
||||
|
||||
<script src="javascripts/game.js" type="text/javascript"></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-603600-6', 'danbarber.me');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user