Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add Google Analytics

  • Loading branch information...
commit 65a1625b90df47c6523a37fe7e514e793c5faa96 1 parent 9cfa939
@jsawruk authored
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">
Please sign in to comment.
Something went wrong with that request. Please try again.