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';
|
||||
|
||||
const LayoutUI = (($) => {
|
||||
const LayoutUI = ($ => {
|
||||
// Constants
|
||||
const W = window;
|
||||
const D = document;
|
||||
@ -37,27 +37,11 @@ const LayoutUI = (($) => {
|
||||
);
|
||||
|
||||
/*google analytics */
|
||||
/*(function(i, s, o, g, r, a, m) {
|
||||
i['GoogleAnalyticsObject'] = r;
|
||||
(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('send', 'pageview');*/
|
||||
|
||||
/*$.getScript('https://www.google-analytics.com/analytics.js', () => {
|
||||
ga('create', 'UA-********-*', 'auto');
|
||||
ga('send', 'pageview');
|
||||
});*/
|
||||
}
|
||||
|
||||
static dispose() {
|
||||
|
Loading…
Reference in New Issue
Block a user