mirror of
https://github.com/a2nt/webpack-bootstrap-ui-kit.git
synced 2024-10-22 11:05:45 +02:00
UPDATE: Google Analytics
This commit is contained in:
parent
7a8d38d15e
commit
45c8942770
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user