Merge pull request #35935 from ClickHouse/Fix_GA_not_reporting_events

Fixed GA not reporting events.
This commit is contained in:
Alexey Milovidov 2022-04-04 21:35:12 +03:00 committed by GitHub
commit 132c36d4a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,10 +67,7 @@
});
}
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
var is_single_page = $('html').attr('data-single-page') === 'true';
if (!is_single_page) {
$('head').each(function (_, element) {
$(element).append(
@ -81,8 +78,6 @@
);
});
}
});
})(document, window, "");
var beforePrint = function() {
var details = document.getElementsByTagName("details");