mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 14:50:19 +00:00
readthedocs uses analytics too
This commit is contained in:
Vendored
+11
-8
@@ -16,18 +16,21 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', 'UA-8742933-10']);
|
||||
_gaq.push(['_setDomainName', 'none']);
|
||||
_gaq.push(['_setAllowLinker', true]);
|
||||
_gaq.push(['_trackPageview']);
|
||||
var _gaq2 = _gaq2 || [];
|
||||
_gaq2.push(['_setAccount', 'UA-8742933-9']);
|
||||
_gaq2.push(['_setDomainName', 'none']);
|
||||
_gaq2.push(['_setAllowLinker', true]);
|
||||
_gaq2.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);
|
||||
var ga2 = document.createElement('script'); ga.type = 'text/javascript'; ga2.async = true;
|
||||
ga2.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga2, s);
|
||||
})();
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
{%- endblock %}
|
||||
|
||||
Reference in New Issue
Block a user