Skip to content

Commit a415527

Browse files
committed
docs: add umami
1 parent 3e799a0 commit a415527

File tree

3 files changed

+9303
-9300
lines changed

3 files changed

+9303
-9300
lines changed

docs/.vuepress/config.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
module.exports = {
22
plugins: {
3-
'@vuepress/google-analytics': {
4-
ga: 'UA-48084758-9',
5-
},
63
'@vuepress/back-to-top': true,
4+
umami: {
5+
trackerUrl: 'https://umami.diygod.dev',
6+
siteId: 'f3b469a2-8054-4bbb-8873-4035761aa4e3',
7+
},
78
},
89
locales: {
910
'/zh/': {

docs/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
"author": "",
88
"license": "ISC",
99
"devDependencies": {
10-
"@vuepress/plugin-back-to-top": "^1.9.7",
11-
"@vuepress/plugin-google-analytics": "^1.9.7",
12-
"vuepress": "^1.9.7"
10+
"@vuepress/plugin-back-to-top": "^1.9.10",
11+
"@vuepress/plugin-google-analytics": "^1.9.10",
12+
"vuepress": "^1.9.10",
13+
"vuepress-plugin-umami": "^0.0.4"
1314
}
1415
}

0 commit comments

Comments
 (0)