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 /hugolib/embedded_templates_test.go | |
parent | ffcf26e68cac843f8b257ee72f0282f405ad04a8 (diff) |
Add anonymizeIP to GA privacy config
See #4751
Diffstat (limited to 'hugolib/embedded_templates_test.go')
-rw-r--r-- | hugolib/embedded_templates_test.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hugolib/embedded_templates_test.go b/hugolib/embedded_templates_test.go index fd620bd15..e04a37f63 100644 --- a/hugolib/embedded_templates_test.go +++ b/hugolib/embedded_templates_test.go @@ -47,7 +47,10 @@ Disqus: b.Build(BuildCfg{}) // Gheck GA regular and async - b.AssertFileContent("public/index.html", "'script','https://www.google-analytics.com/analytics.js','ga');\n\tga('create', 'ga_id', 'auto')", "<script async src='//www.google-analytics.com/analytics.js'>") + b.AssertFileContent("public/index.html", + "'anonymizeIp', true", + "'script','https://www.google-analytics.com/analytics.js','ga');\n\tga('create', 'ga_id', 'auto')", + "<script async src='//www.google-analytics.com/analytics.js'>") // Disqus b.AssertFileContent("public/index.html", "\"disqus_shortname\" + '.disqus.com/embed.js';") |