mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
[docs] remove Metrika counter
This commit is contained in:
parent
a60737e67e
commit
a2c4073ca1
@ -70,15 +70,6 @@
|
||||
(function (d, w, c) {
|
||||
(w[c] = w[c] || []).push(function() {
|
||||
var is_single_page = $('html').attr('data-single-page') === 'true';
|
||||
try {
|
||||
w.yaCounter18343495 = new Ya.Metrika2({
|
||||
id: 18343495,
|
||||
clickmap: !is_single_page,
|
||||
trackLinks: !is_single_page,
|
||||
accurateTrackBounce: !is_single_page,
|
||||
webvisor: !is_single_page
|
||||
});
|
||||
} catch(e) { }
|
||||
|
||||
if (!is_single_page) {
|
||||
$('head').each(function(_, element) {
|
||||
@ -91,20 +82,6 @@
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
var n = d.getElementsByTagName("script")[0],
|
||||
s = d.createElement("script"),
|
||||
f = function () { n.parentNode.insertBefore(s, n); };
|
||||
s.type = "text/javascript";
|
||||
s.async = true;
|
||||
s.src = "/js/metrika.js";
|
||||
if (window.location.hostname.endsWith('clickhouse.com')) {
|
||||
if (w.opera == "[object Opera]") {
|
||||
d.addEventListener("DOMContentLoaded", f, false);
|
||||
} else {
|
||||
f();
|
||||
}
|
||||
}
|
||||
})(document, window, "yandex_metrika_callbacks2");
|
||||
|
||||
var beforePrint = function() {
|
||||
|
Loading…
Reference in New Issue
Block a user