diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-05-25 10:53:39 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-05-25 10:53:39 +0200 |
commit | 1f1d955b56471e41d5288c57f1ef8333dc297120 (patch) | |
tree | 62861fc8be43b2be7790ef868632dc073c6d2840 /config/privacy/privacyConfig.go | |
parent | ffcf26e68cac843f8b257ee72f0282f405ad04a8 (diff) |
Add anonymizeIP to GA privacy config
See #4751
Diffstat (limited to 'config/privacy/privacyConfig.go')
-rw-r--r-- | config/privacy/privacyConfig.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/privacy/privacyConfig.go b/config/privacy/privacyConfig.go index 9c2a8df66..33e98754c 100644 --- a/config/privacy/privacyConfig.go +++ b/config/privacy/privacyConfig.go @@ -48,6 +48,9 @@ type GoogleAnalytics struct { // Enabling this will make the GA templates respect the // "Do Not Track" HTTP header. See https://www.paulfurley.com/google-analytics-dnt/. RespectDoNotTrack bool + + // Enabling this will make it so the users' IP addresses are anonymized within Google Analytics. + AnonymizeIP bool } // Instagram holds the privacy configuration settings related to the Instagram shortcode. |