mirror of
https://github.com/seigler/dash-docs
synced 2025-07-26 01:06:13 +00:00
Config - analytics (#130)
* Config - Update analytics * Config - Enable analytics IP anonymization
This commit is contained in:
parent
e98d344734
commit
85f779bfc5
2 changed files with 3 additions and 2 deletions
|
@ -30,6 +30,7 @@ http://opensource.org/licenses/MIT.
|
|||
}
|
||||
</script>
|
||||
<script type="text/javascript" src="/js/cookieconsent/cookieconsent.js"></script>
|
||||
-->
|
||||
<script>
|
||||
if( navigator.doNotTrack != "yes" && navigator.doNotTrack != "1" && window.doNotTrack != "1" && navigator.msDoNotTrack != "1" ){
|
||||
var script = document.createElement('script');
|
||||
|
@ -37,4 +38,3 @@ if( navigator.doNotTrack != "yes" && navigator.doNotTrack != "1" && window.doNot
|
|||
document.getElementsByTagName("head")[0].appendChild(script);
|
||||
}
|
||||
</script>
|
||||
-->
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
(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-46627233-1', 'auto');
|
||||
ga('create', 'UA-118991016-3', 'auto');
|
||||
ga('set', 'anonymizeIp', true);
|
||||
ga('send', 'pageview');
|
||||
|
||||
/* jshint ignore:end */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue