Merge branch 'master' into ui
This commit is contained in:
commit
9c33ec381e
1 changed files with 7 additions and 0 deletions
|
@ -5,6 +5,13 @@
|
||||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||||
|
|
||||||
ga('create', '{{{trackerId}}}', 'auto');
|
ga('create', '{{{trackerId}}}', 'auto');
|
||||||
|
|
||||||
|
if (window.URL && document.referrer) {
|
||||||
|
ga("set", "referrer", (new URL(document.referrer)).origin);
|
||||||
|
} else {
|
||||||
|
ga("set", "referrer", "");
|
||||||
|
}
|
||||||
|
|
||||||
ga('set', 'anonymizeIp', true);
|
ga('set', 'anonymizeIp', true);
|
||||||
ga('send', 'pageview');
|
ga('send', 'pageview');
|
||||||
</script>
|
</script>
|
Loading…
Reference in a new issue