Permalink
Browse files

Add Google Analytics

  • Loading branch information...
1 parent 9cfa939 commit 65a1625b90df47c6523a37fe7e514e793c5faa96 @jsawruk committed Nov 9, 2011
Showing with 15 additions and 0 deletions.
  1. +15 −0 index.php
View
15 index.php
@@ -8,6 +8,21 @@
<link rel="stylesheet" type="text/css" href="css/main.css" />
<script src="js/head.load.min.js"></script>
<!-- Load head.load.js in head, load others using this in body -->
+
+ <script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-26895827-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 class="topbar">

0 comments on commit 65a1625

Please sign in to comment.