Browse files

added analytics

  • Loading branch information...
1 parent 554c5ac commit 8553c0637af176a45f2684a09c0667fccc117f97 @staydecent committed Feb 24, 2012
Showing with 13 additions and 0 deletions.
  1. +13 −0 layout/header.php
View
13 layout/header.php
@@ -15,6 +15,19 @@
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script src="<?php echo SITE_URL ?>assets/js/respond.min.js"></script>
+ <script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-4203135-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 class="home">

0 comments on commit 8553c06

Please sign in to comment.