mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Fixed GA not reporting events.
This commit is contained in:
parent
3a6bee309b
commit
43f697d7ba
@ -67,12 +67,9 @@
|
||||
});
|
||||
}
|
||||
|
||||
(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) {
|
||||
$('head').each(function (_, element) {
|
||||
$(element).append(
|
||||
'<script async src="https://www.googletagmanager.com/gtag/js?id=G-KF1LLRTQ5Q"></script><script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag(\'js\', new Date());gtag(\'config\', \'G-KF1LLRTQ5Q\');</script>'
|
||||
);
|
||||
@ -81,8 +78,6 @@
|
||||
);
|
||||
});
|
||||
}
|
||||
});
|
||||
})(document, window, "");
|
||||
|
||||
var beforePrint = function() {
|
||||
var details = document.getElementsByTagName("details");
|
||||
|
Loading…
Reference in New Issue
Block a user