Unverified Commit 4ffa3429 authored by Nate Angell's avatar Nate Angell Committed by GitHub

anonymize collected IP addresses for GDPR

As a part of https://github.com/hypothesis/product-backlog/issues/653
parent d9252021
...@@ -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