X Tutup
Skip to content

Commit 8d4623b

Browse files
author
Kenneth Reitz
committed
readthedocs uses analytics too
1 parent 30c0cb1 commit 8d4623b

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

docs/_themes/kr/layout.html

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,21 @@
1616

1717
<script type="text/javascript">
1818

19-
var _gaq = _gaq || [];
20-
_gaq.push(['_setAccount', 'UA-8742933-10']);
21-
_gaq.push(['_setDomainName', 'none']);
22-
_gaq.push(['_setAllowLinker', true]);
23-
_gaq.push(['_trackPageview']);
19+
var _gaq2 = _gaq2 || [];
20+
_gaq2.push(['_setAccount', 'UA-8742933-9']);
21+
_gaq2.push(['_setDomainName', 'none']);
22+
_gaq2.push(['_setAllowLinker', true]);
23+
_gaq2.push(['_trackPageview']);
2424

2525
(function() {
26-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
27-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
28-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
26+
var ga2 = document.createElement('script'); ga.type = 'text/javascript'; ga2.async = true;
27+
ga2.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
28+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga2, s);
2929
})();
3030

3131
</script>
32+
33+
34+
3235

3336
{%- endblock %}

0 commit comments

Comments
 (0)
X Tutup