summaryrefslogtreecommitdiffstats
path: root/config/privacy/privacyConfig.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/privacy/privacyConfig.go')
-rw-r--r--config/privacy/privacyConfig.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/config/privacy/privacyConfig.go b/config/privacy/privacyConfig.go
index 0241b5704..64bbe71bb 100644
--- a/config/privacy/privacyConfig.go
+++ b/config/privacy/privacyConfig.go
@@ -72,8 +72,12 @@ type Vimeo struct {
// YouTube holds the privacy configuration settingsrelated to the YouTube shortcode.
type YouTube struct {
- Service `mapstructure:",squash"`
- NoCookie bool
+ Service `mapstructure:",squash"`
+
+ // When you turn on privacy-enhanced mode,
+ // YouTube won’t store information about visitors on your website
+ // unless they play the video.
+ PrivacyEnhanced bool
}
func DecodeConfig(cfg config.Provider) (pc Config, err error) {