Add RespectDoNotTrack to GDPR privacy policy for Google Analytics

See #4616
This commit is contained in:
Bjørn Erik Pedersen
2018-05-21 10:18:36 +02:00
parent f45b522ebf
commit 710142016b
5 changed files with 54 additions and 20 deletions

View File

@@ -33,6 +33,7 @@ someOtherValue = "foo"
disable = true
[privacy.googleAnalytics]
disable = true
respectDoNotTrack = true
[privacy.instagram]
disable = true
[privacy.speakerDeck]
@@ -54,6 +55,7 @@ noCookie = true
assert.True(pc.Disqus.Disable)
assert.True(pc.GoogleAnalytics.Disable)
assert.True(pc.GoogleAnalytics.RespectDoNotTrack)
assert.True(pc.Instagram.Disable)
assert.True(pc.SpeakerDeck.Disable)
assert.True(pc.Tweet.Disable)