mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Merge pull request #35935 from ClickHouse/Fix_GA_not_reporting_events
Fixed GA not reporting events.
This commit is contained in:
commit
132c36d4a0
@ -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