Merge branch 'master' into ui

This commit is contained in:
Danny Coates 2017-06-21 16:17:33 -07:00 committed by GitHub
commit 9c33ec381e
1 changed files with 7 additions and 0 deletions

View File

@ -5,6 +5,13 @@
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
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('send', 'pageview');
</script>