UPDATE: Google Analytics

This commit is contained in:
Tony Air 2020-04-01 00:24:58 +07:00
parent 7a8d38d15e
commit 45c8942770

View File

@ -4,7 +4,7 @@ import $ from 'jquery';
import Events from './_events'; import Events from './_events';
const LayoutUI = (($) => { const LayoutUI = ($ => {
// Constants // Constants
const W = window; const W = window;
const D = document; const D = document;
@ -37,27 +37,11 @@ const LayoutUI = (($) => {
); );
/*google analytics */ /*google analytics */
/*(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; /*$.getScript('https://www.google-analytics.com/analytics.js', () => {
(i[r] =
i[r] ||
function() {
(i[r].q = i[r].q || []).push(arguments);
}),
(i[r].l = 1 * new Date());
(a = s.createElement(o)), (m = s.getElementsByTagName(o)[0]);
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m);
})(
window,
document,
'script',
'//www.google-analytics.com/analytics.js',
'ga',
);
ga('create', 'UA-********-*', 'auto'); ga('create', 'UA-********-*', 'auto');
ga('send', 'pageview');*/ ga('send', 'pageview');
});*/
} }
static dispose() { static dispose() {