Add anonymizeIP to GA privacy config

See #4751
This commit is contained in:
Bjørn Erik Pedersen
2018-05-25 10:53:39 +02:00
parent ffcf26e68c
commit 1f1d955b56
7 changed files with 30 additions and 1 deletions

View File

@@ -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.