mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-28 09:10:17 +02:00
ananlytics: fix ga for domain
This commit is contained in:
@@ -23,9 +23,7 @@ if (navigator.onLine && !window.DEBUG) {
|
|||||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||||
|
|
||||||
ga('create', 'UA-87786708-1', {'cookieDomain': 'none'});
|
ga('create', 'UA-87786708-1');
|
||||||
// required for chrome extension protocol
|
|
||||||
ga('set', 'checkProtocolTask', function(){ /* nothing */ });
|
|
||||||
ga('send', 'pageview');
|
ga('send', 'pageview');
|
||||||
}, 100);
|
}, 100);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user