Skip to content

Commit

Permalink
Website analytics.
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed May 6, 2013
1 parent c34f668 commit c9e5bed
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,16 @@ <h3 id="license">License</h3>
$('.version-tag').text('v' + version);
$('.version-href').attr('href', url);
});

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-40704740-2']);
_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>
Expand Down

0 comments on commit c9e5bed

Please sign in to comment.