Unverified Commit cf7427a0 authored by Robert Knight's avatar Robert Knight Committed by GitHub

Merge pull request #736 from xolotl/patch-1

anonymize collected IP addresses for GDPR
parents d9252021 4ffa3429
...@@ -29,5 +29,9 @@ module.exports = function(trackingId){ ...@@ -29,5 +29,9 @@ module.exports = function(trackingId){
// https://developers.google.com/analytics/devguides/collection/analyticsjs/tasks#disabling // https://developers.google.com/analytics/devguides/collection/analyticsjs/tasks#disabling
ga('set', 'checkProtocolTask', null); ga('set', 'checkProtocolTask', null);
// anonymize collected IP addresses for GDPR
// https://developers.google.com/analytics/devguides/collection/analyticsjs/ip-anonymization
ga('set', 'anonymizeIp', true);
/* eslint-enable */ /* eslint-enable */
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment