Skip to content

Commit

Permalink
add google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
defunctzombie committed Dec 12, 2012
1 parent 413d492 commit ca04ba0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions _layouts/default.html
Expand Up @@ -9,4 +9,17 @@
<div class="container">
{{ content }}
</div>

<!-- google analytics -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-574889-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>
</body>

0 comments on commit ca04ba0

Please sign in to comment.