Skip to content

Commit

Permalink
Google Analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Klug committed Nov 17, 2011
1 parent 4526bd7 commit f14b8ae
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions templates/base.html
Expand Up @@ -38,11 +38,19 @@ <h2 class="tagline">Welcome to the community center for hackers + thinkers.</h2>
<footer>Hacker Dojo &bull; 140A South Whisman Road &bull; Mountain View, CA 94041 &bull; <a href="mailto:info@hackerdojo.com">info@hackerdojo.com</a> &bull; twitter: <a href="https://twitter.com/#!/hackerdojo">@hackerdojo</a></footer>
</div>
</div>
<script>
// var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
// (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
// g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
// s.parentNode.insertBefore(g,s)}(document,'script'));
<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-27117910-1']);
_gaq.push(['_setDomainName', '.hackerdojo.com']);
_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>
</html>
Expand Down

0 comments on commit f14b8ae

Please sign in to comment.