diff --git a/README.md b/README.md index 1a6fb96..4964256 100644 --- a/README.md +++ b/README.md @@ -178,9 +178,10 @@ type: "search" #### 添加GA分析统计 -该主题已经支持了GA分析统计,只需要在`config.toml`配置里加入如下配置即可。 +该主题已经支持了GA4分析统计,只需要在`config.toml`配置里加入如下配置即可。 +一定要使用最新的GA4分析,填写`衡量ID`,以`G-`开头。 ```toml -googleAnalytics = "GA ID" +googleAnalytics = "G-xxxxxxxxxx" ``` #### 文章归档支持 diff --git a/README_EN.md b/README_EN.md index b61ae77..69f01b9 100644 --- a/README_EN.md +++ b/README_EN.md @@ -122,7 +122,7 @@ Ads Preview [http://www.flysnow.org/](http://www.flysnow.org/) #### Google Analytics ```toml -googleAnalytics = "GA ID" +googleAnalytics = "G-xxxxxxxxxx" ``` #### Custonm Summaries diff --git a/layouts/partials/copyright.html b/layouts/partials/copyright.html index f35375c..b2f0168 100644 --- a/layouts/partials/copyright.html +++ b/layouts/partials/copyright.html @@ -1,7 +1,7 @@ {{ if and (isset .Site.Params "cc") (in (slice "post" "posts") .Type) }}