summaryrefslogtreecommitdiffstats
path: root/hugolib/embedded_templates_test.go
diff options
context:
space:
mode:
authorDaniel Atwood <daniel@atwood.io>2021-03-03 07:30:06 -0500
committerGitHub <noreply@github.com>2021-03-03 13:30:06 +0100
commitba16a14c6e884e309380610331aff78213f84751 (patch)
tree890cd7654e19c9326e44ba8793c1776f08113249 /hugolib/embedded_templates_test.go
parent782c79ae61a5ec30746ce3729933d6b4d31e0540 (diff)
Add support for Google Analytics v4
Diffstat (limited to 'hugolib/embedded_templates_test.go')
-rw-r--r--hugolib/embedded_templates_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/embedded_templates_test.go b/hugolib/embedded_templates_test.go
index ab0b7b97f..c62d59b1d 100644
--- a/hugolib/embedded_templates_test.go
+++ b/hugolib/embedded_templates_test.go
@@ -110,7 +110,7 @@ Disqus:
// Gheck GA regular and async
b.AssertFileContent("public/index.html",
"'anonymizeIp', true",
- "'script','https://www.google-analytics.com/analytics.js','ga');\n\tga('create', 'ga_id', 'auto')",
+ "'script','https://www.google-analytics.com/analytics.js','ga');\n\tga('create', 'UA-ga_id', 'auto')",
"<script async src='https://www.google-analytics.com/analytics.js'>")
// Disqus