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
......@@ -28,6 +28,10 @@ module.exports = function(trackingId){
// anywhere else as well.
// https://developers.google.com/analytics/devguides/collection/analyticsjs/tasks#disabling
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 */
};
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