Adding anonymize IP flag by direction of legal
This commit is contained in:
parent
77c541316e
commit
3af738935f
|
@ -7,6 +7,7 @@
|
||||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||||
|
|
||||||
ga('create', '{{ site.google_analytics }}', 'auto');
|
ga('create', '{{ site.google_analytics }}', 'auto');
|
||||||
|
ga('set', 'anonymizeIp', true);
|
||||||
ga('send', 'pageview', {
|
ga('send', 'pageview', {
|
||||||
'page': '{{ page.url }}',
|
'page': '{{ page.url }}',
|
||||||
'title': '{{ page.title | replace: "'", "\\'" }}'
|
'title': '{{ page.title | replace: "'", "\\'" }}'
|
||||||
|
|
Loading…
Reference in a new issue