diff --git a/package.json b/package.json index 1c7352e..7e1c621 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,6 @@ }, "devDependencies": { "@vuepress/plugin-blog": "^1.9.2", - "@vuepress/plugin-google-analytics": "^1.5.0", "@vuepress/plugin-search": "^1.5.0", "axios": "^0.19.2", "critters-webpack-plugin": "^2.5.0", @@ -22,6 +21,7 @@ "vuepress-plugin-disqus": "^0.2.0", "vuepress-plugin-img-lazy": "^1.0.3", "vuepress-plugin-medium-zoom": "^1.1.8", + "vuepress-plugin-minimal-analytics": "^0.1.4", "vuepress-plugin-reading-time": "^0.1.1" }, "dependencies": {} diff --git a/site/.vuepress/config.js b/site/.vuepress/config.js index 096aa37..357e5bb 100644 --- a/site/.vuepress/config.js +++ b/site/.vuepress/config.js @@ -126,11 +126,6 @@ module.exports = { }, }, ], - [ - '@vuepress/google-analytics', - { - 'ga': 'UA-22811026-1' - } - ] + ['minimal-analytics', {ga: 'UA-22811026-1'}] ], } \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index b892c30..01cd31f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1113,11 +1113,6 @@ vuepress-plugin-mailchimp "^1.4.1" vuepress-plugin-sitemap "^2.3.1" -"@vuepress/plugin-google-analytics@^1.5.0": - version "1.5.0" - resolved "https://registry.yarnpkg.com/@vuepress/plugin-google-analytics/-/plugin-google-analytics-1.5.0.tgz#07a9783739a552e3e4c435e3e2ad64432a540002" - integrity sha512-VJo7igbrkZdl02rkCnGmfr124o7qKkY8YfZtsGTsXDMpwP43FDQjsZVB2TLXHdaKoeVQr3khD4wKKklGzpiOGg== - "@vuepress/plugin-last-updated@1.5.0": version "1.5.0" resolved "https://registry.yarnpkg.com/@vuepress/plugin-last-updated/-/plugin-last-updated-1.5.0.tgz#080ff0d8d8a4dbf5ead83802b4b9dfbf531e50e4" @@ -8591,6 +8586,11 @@ vuepress-plugin-medium-zoom@^1.1.8: dependencies: medium-zoom "^1.0.4" +vuepress-plugin-minimal-analytics@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/vuepress-plugin-minimal-analytics/-/vuepress-plugin-minimal-analytics-0.1.4.tgz#c6bcfc33330c65c669111df625b63a3b585fc254" + integrity sha512-f+Y4FYiafmxrhwQjaMeu6CFZo0BrKetMpF3X/wLMK7Sp5n7dWk0s8pBowgY82jgWZmn63PjYeaX+MTJhCqnmRg== + vuepress-plugin-reading-time@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/vuepress-plugin-reading-time/-/vuepress-plugin-reading-time-0.1.1.tgz#3ea3dcded424a00c1d5175a50af8d5694899f1ea"