Skip to content

Commit 1e3141e

Browse files
jorisvandenbosscheTomAugspurger
authored andcommitted
DOC: add google analytics to the documentation (pandas-dev#16412)
(cherry picked from commit 5fe042f)
1 parent 772e63f commit 1e3141e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/source/themes/nature_with_gtoc/layout.html

+11
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,15 @@ <h3 style="margin-top: 1.5em;">{{ _('Search') }}</h3>
9494
});
9595
});
9696
</script>
97+
<script type="text/javascript">
98+
var _gaq = _gaq || [];
99+
_gaq.push(['_setAccount', 'UA-27880019-2']);
100+
_gaq.push(['_trackPageview']);
101+
102+
(function() {
103+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
104+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
105+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
106+
})();
107+
</script>
97108
{% endblock %}

0 commit comments

Comments
 (0)