mirror of
https://github.com/BorysLevytskyi/BitwiseCmd.git
synced 2025-12-23 21:22:48 +01:00
Release
This commit is contained in:
21
analytics.js
21
analytics.js
@@ -26,8 +26,27 @@
|
||||
ga('create', 'UA-61569164-1', 'auto');
|
||||
ga('send', 'pageview');
|
||||
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
|
||||
gtag('js', new Date())
|
||||
gtag('config', 'G-H9EVNH8GNZ');
|
||||
|
||||
window.bitwiseCmdAnalyticsHandler = function(evt) {
|
||||
ga('send', Object.assign({hitType: 'event'}, evt));
|
||||
gtag('event', evt.eventAction, evt);
|
||||
return true;
|
||||
}
|
||||
})();
|
||||
})();
|
||||
|
||||
|
||||
/*
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-H9EVNH8GNZ');
|
||||
</script>
|
||||
*/
|
||||
Reference in New Issue
Block a user