Adding anonymize IP flag by direction of legal

This commit is contained in:
Holger Reinhardt 2016-01-30 23:55:30 +01:00
parent 77c541316e
commit 3af738935f

View file

@ -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: "'", "\\'" }}'