Add analytics

This commit is contained in:
grosroro 2012-05-31 11:40:39 +02:00
commit 538532a305
4 changed files with 16 additions and 14 deletions

View file

@ -220,18 +220,6 @@
{{ script() }}
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-30671300-1']);
_gaq.push(['_setDomainName', 'readthedocs.org']);
_gaq.push(['_setAllowLinker', true]);
_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>
{% include "analytics.html" %}
</body>
</html>