diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 0041afe08..f590e6d61 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -975,9 +975,6 @@ enableEmoji = true
# whether to anonymize IP
# 是否匿名化用户 IP
anonymizeIP = true
- # whether to use cookie
- # 是否使用 cookie
- cookie = false
# Fathom Analytics
[params.analytics.fathom]
id = ""
diff --git a/exampleSite/content/posts/theme-documentation-basics.en.md b/exampleSite/content/posts/theme-documentation-basics.en.md
index 8aba83851..9980639b0 100644
--- a/exampleSite/content/posts/theme-documentation-basics.en.md
+++ b/exampleSite/content/posts/theme-documentation-basics.en.md
@@ -596,8 +596,6 @@ Please open the code block below to view the complete sample configuration :(far
id = ""
# whether to anonymize IP
anonymizeIP = true
- # whether to use cookie
- cookie = false
# Fathom Analytics
[params.analytics.fathom]
id = ""
diff --git a/exampleSite/content/posts/theme-documentation-basics.fr.md b/exampleSite/content/posts/theme-documentation-basics.fr.md
index 3c6a4aca3..a9a5d6525 100644
--- a/exampleSite/content/posts/theme-documentation-basics.fr.md
+++ b/exampleSite/content/posts/theme-documentation-basics.fr.md
@@ -601,8 +601,6 @@ Please open the code block below to view the complete sample configuration :(far
id = ""
# whether to anonymize IP
anonymizeIP = true
- # whether to use cookie
- cookie = false
# Fathom Analytics
[params.analytics.fathom]
id = ""
diff --git a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md b/exampleSite/content/posts/theme-documentation-basics.zh-cn.md
index b68bb0268..f5b5db0dd 100644
--- a/exampleSite/content/posts/theme-documentation-basics.zh-cn.md
+++ b/exampleSite/content/posts/theme-documentation-basics.zh-cn.md
@@ -599,8 +599,6 @@ hugo
id = ""
# 是否匿名化用户 IP
anonymizeIP = true
- # 是否使用 cookie
- cookie = false
# Fathom Analytics
[params.analytics.fathom]
id = ""
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index a196159c3..4bcabfd8d 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,3 +1,4 @@
+{{- .Scratch.Set "version" "0.2.7" -}}
{{- $version := "0.2.X" -}}
{{- /* LoveIt theme version detection */ -}}
@@ -10,7 +11,6 @@
{{- end -}}
{{- $params := .Params | merge .Site.Params.page -}}
-{{- .Scratch.Set "version" "0.2.6" -}}
{{- if eq hugo.Environment "production" -}}
{{- .Scratch.Set "cdn" .Site.Params.cdn -}}
diff --git a/layouts/partials/plugin/analytics.html b/layouts/partials/plugin/analytics.html
index 7714da6d1..ec2eb9a03 100644
--- a/layouts/partials/plugin/analytics.html
+++ b/layouts/partials/plugin/analytics.html
@@ -2,18 +2,16 @@
{{- /* Google Analytics */ -}}
{{- with .google.id -}}
- {{- dict "source" "https://www.google-analytics.com/analytics.js" "async" true | partial "plugin/script.html" -}}
+ {{- printf "https://www.googletagmanager.com/gtag/js?id=%s" . | dict "async" true "source" | partial "plugin/script.html" -}}
{{- end -}}
{{- /* Fathom Analytics */ -}}
{{- with .fathom.id -}}