Skip to content

Commit

Permalink
Layout: added Google Analytics tracking code
Browse files Browse the repository at this point in the history
  • Loading branch information
vlucas committed Jul 26, 2011
1 parent 8385a28 commit 0c2a8ab
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions views/layout.ejs
Expand Up @@ -52,6 +52,17 @@
</footer>

<!-- GA Tracker -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-359731-6']);
_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>

</div>
</body>
Expand Down

0 comments on commit 0c2a8ab

Please sign in to comment.