summaryrefslogtreecommitdiffstats
path: root/hugolib/embedded_templates_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/embedded_templates_test.go')
-rw-r--r--hugolib/embedded_templates_test.go5
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';")