Permalink
Browse files

Added Google Analytics tracking code

  • Loading branch information...
spockz committed Feb 3, 2012
1 parent 87f13bf commit 3f93a5539d2cad4762d1b8c14682a164fca8bd79
Showing with 11 additions and 0 deletions.
  1. +11 −0 _layouts/default.html
View
@@ -5,6 +5,17 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>{{ page.title }}</title>
<link rel="stylesheet" type="text/css" href="style.css" media="all" />
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-28927322-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>

0 comments on commit 3f93a55

Please sign in to comment.