mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Disable webvisor on single-page docs
This commit is contained in:
parent
91a33e1eec
commit
2108f621dd
@ -50,13 +50,14 @@
|
||||
|
||||
(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:true,
|
||||
trackLinks:true,
|
||||
accurateTrackBounce:true,
|
||||
webvisor:true
|
||||
id: 18343495,
|
||||
clickmap: !is_single_page,
|
||||
trackLinks: !is_single_page,
|
||||
accurateTrackBounce: !is_single_page,
|
||||
webvisor: !is_single_page
|
||||
});
|
||||
} catch(e) { }
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user