Skip to content

Commit

Permalink
Add Google Analytics code
Browse files Browse the repository at this point in the history
  • Loading branch information
davidben committed Mar 10, 2012
1 parent 5bda3f8 commit 8db84e2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/res/nacl/index.html
Expand Up @@ -4,6 +4,17 @@
<title>The Ur-Quan Masters</title>
<link rel="shortcut icon" href="icon.png">
<link rel="stylesheet" href="uqm.css">
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-29859793-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>
<div id="gamearea">
Expand Down

0 comments on commit 8db84e2

Please sign in to comment.