Skip to content

Commit

Permalink
adding GA tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
qmx committed Oct 22, 2011
1 parent 0f7cd81 commit fd35e0c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions _layouts/main.html
Expand Up @@ -9,6 +9,19 @@
padding-top: 60px;
}
</style>
<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-26472175-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>
{{ content }}
Expand Down

0 comments on commit fd35e0c

Please sign in to comment.