aboutsummaryrefslogtreecommitdiff
path: root/exampleSite
diff options
context:
space:
mode:
authorolOwOlo <26087907+olOwOlo@users.noreply.github.com>2018-07-09 15:16:47 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2018-07-09 15:16:47 +0800
commit85290e5c12c5331bfa43481a73395c6f38b9d845 (patch)
tree1c669b585528b8dec4d8477ac8b653d8d433e90f /exampleSite
parent619a42053f6c4f64b50badc321beda6e60119cba (diff)
docs(config): GDPR settings for GA and youtube
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml7
1 files changed, 7 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 49c1f1f..0eb28e5 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -166,6 +166,13 @@ copyright = "" # default: author.name ↓ # 默认为下面配
l-tumblr = "http://localhost:1313"
m-instagram = "http://localhost:1313"
+# See https://gohugo.io/about/hugo-and-gdpr/
+[privacy]
+ [privacy.googleAnalytics]
+ anonymizeIP = true # 12.214.31.144 -> 12.214.31.0
+ [privacy.youtube]
+ privacyEnhanced = true
+
# 将下面这段配置取消注释可以使 hugo 生成 .md 文件
# Uncomment these options to make hugo output .md files.
#[mediaTypes]