Permalink
Browse files

Google Analytics added

  • Loading branch information...
1 parent 375322e commit 844400c3956fe83c028a03764b60dc04eaee6521 @keithamus keithamus committed Apr 11, 2012
Showing with 13 additions and 2 deletions.
  1. +13 −2 _layouts/main.html
View
@@ -10,15 +10,26 @@
<meta name="author" content="Keith Cirkel">
<meta name="viewport" content="width=device-width,initial-scale=1">
+ <link rel="stylesheet" href="/style.css">
<script src="/jquery.js"></script>
<script src="/fn.js" defer async></script>
<script src="/tempus.js" defer></script>
<script src="/tempus.timer.js" defer async></script>
<script src="/tempus.interval.js" defer async></script>
-
- <link rel="stylesheet" href="/style.css">
+
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-30793019-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{% if page.body_class %} class="{{ page.body_class }}" {% endif %}>

0 comments on commit 844400c

Please sign in to comment.