Skip to content

Commit

Permalink
Add Google Analytics, close #28
Browse files Browse the repository at this point in the history
  • Loading branch information
mvasilkov committed Nov 18, 2012
1 parent 4925a89 commit ffb3e2e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions index.html
Expand Up @@ -6,6 +6,17 @@
<link rel="stylesheet" href="lib/bootstrap/bootstrap.css">
<link rel="stylesheet" href="media/main.css">
<script src="//use.edgefonts.net/source-code-pro:n4.js"></script>
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-13074716-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 class="loading">
<div id="game">
Expand Down
11 changes: 11 additions & 0 deletions upload/index.html
Expand Up @@ -6,6 +6,17 @@
<link rel="stylesheet" href="lib/bootstrap/bootstrap.css">
<link rel="stylesheet" href="media/main.css">
<script src="//use.edgefonts.net/source-code-pro:n4.js"></script>
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-13074716-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 class="loading">
<div id="game">
Expand Down

0 comments on commit ffb3e2e

Please sign in to comment.