diff --git a/README.md b/README.md index 436c9dd2..ad9ecb93 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,7 @@ I hope you will LoveIt ❤️! * **[Google Analytics](https://analytics.google.com/analytics)** supported * **[Fathom Analytics](https://usefathom.com/)** supported * **[Plausible Analytics](https://plausible.io/)** supported +* **[Yandex Metrica](https://metrica.yandex.com/)** supported * Search engine **verification** supported (Google, Bind, Yandex and Baidu) * **CDN** for third-party libraries supported * Automatically converted images with **Lazy Load** by [lazysizes](https://github.com/aFarkas/lazysizes) diff --git a/README.zh-cn.md b/README.zh-cn.md index 7968de8e..2db53e33 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -61,6 +61,7 @@ * 支持 **[Google Analytics](https://analytics.google.com/analytics)** * 支持 **[Fathom Analytics](https://usefathom.com/)** * 支持 **[Plausible Analytics](https://plausible.io/)** +* 支持 **[Yandex Metrica](https://metrica.yandex.com/)** * 支持搜索引擎的**网站验证** (Google, Bind, Yandex and Baidu) * 支持所有第三方库的 **CDN** * 基于 [lazysizes](https://github.com/aFarkas/lazysizes) 自动转换图片为**懒加载** diff --git a/config.toml b/config.toml index da83d24c..30d2bd0a 100644 --- a/config.toml +++ b/config.toml @@ -573,6 +573,9 @@ # Plausible Analytics [params.analytics.plausible] dataDomain = "" + # Yandex Metrica + [params.analytics.yandexMetrica] + id = "" # Cookie consent config # Cookie 许可配置 diff --git a/exampleSite/content/about/index.en.md b/exampleSite/content/about/index.en.md index 7469bc35..fd9f6343 100644 --- a/exampleSite/content/about/index.en.md +++ b/exampleSite/content/about/index.en.md @@ -34,6 +34,7 @@ math: * :(fab fa-google fa-fw): **[Google Analytics](https://analytics.google.com/analytics)** supported * :(far fa-chart-bar fa-fw): **[Fathom Analytics](https://usefathom.com/)** supported * :(fas fa-chart-column fa-fw): **[Plausible Analytics](https://plausible.io/)** supported +* :(fab fa-yandex-international fa-fw): **[Yandex Metrica](https://metrica.yandex.com/)** supported * :(fas fa-sitemap fa-fw): Search engine **verification** supported (Google, Bind, Yandex and Baidu) * :(fas fa-tachometer-alt fa-fw): **CDN** for third-party libraries supported * :(fas fa-cloud-download-alt fa-fw): Automatically converted images with **Lazy Load** by [lazysizes](https://github.com/aFarkas/lazysizes) diff --git a/exampleSite/content/about/index.zh-cn.md b/exampleSite/content/about/index.zh-cn.md index bcfa2852..e93d05e1 100644 --- a/exampleSite/content/about/index.zh-cn.md +++ b/exampleSite/content/about/index.zh-cn.md @@ -34,6 +34,7 @@ math: * :(fab fa-google fa-fw): 支持 **[Google Analytics](https://analytics.google.com/analytics)** * :(far fa-chart-bar fa-fw): 支持 **[Fathom Analytics](https://usefathom.com/)** * :(fas fa-chart-column fa-fw): 支持 **[Plausible Analytics](https://plausible.io/)** +* :(fab fa-yandex-international fa-fw): 支持 **[Yandex Metrica](https://metrica.yandex.com/)** * :(fas fa-sitemap fa-fw): 支持搜索引擎的**网站验证** (Google, Bind, Yandex and Baidu) * :(fas fa-tachometer-alt fa-fw): 支持所有第三方库的 **CDN** * :(fas fa-cloud-download-alt fa-fw): 基于 [lazysizes](https://github.com/aFarkas/lazysizes) 自动转换图片为**懒加载** diff --git a/exampleSite/content/posts/theme-documentation-basics/index.en.md b/exampleSite/content/posts/theme-documentation-basics/index.en.md index df6d52f1..eb3b1601 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.en.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.en.md @@ -698,6 +698,9 @@ languageName = "English" # Plausible Analytics [params.analytics.plausible] dataDomain = "" + # Yandex Metrica + [params.analytics.yandexMetrica] + id = "" # {{< version 0.2.7 >}} Cookie consent config [params.cookieconsent] diff --git a/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md b/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md index afd94887..c78985da 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md @@ -702,6 +702,9 @@ hasCJKLanguage = true # Plausible Analytics [params.analytics.plausible] dataDomain = "" + # Yandex Metrica + [params.analytics.yandexMetrica] + id = "" # {{< version 0.2.7 >}} Cookie 许可配置 [params.cookieconsent]