Skip to content

Commit d03823e

Browse files
author
Dipak Sarkar
committed
added google analytics
1 parent 789b2cf commit d03823e

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

docs/.vuepress/config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,11 @@ module.exports = {
5555
'@vuepress/plugin-back-to-top',
5656
'@vuepress/plugin-medium-zoom',
5757
'@vuepress/register-components',
58+
[
59+
'@vuepress/google-analytics',
60+
{
61+
'ga': '' // UA-00000000-0
62+
}
63+
],
5864
]
5965
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"@vue/test-utils": "^1.2.2",
3030
"@vuedoc/md": "^1.6.0",
3131
"@vuepress/plugin-back-to-top": "^1.8.2",
32+
"@vuepress/plugin-google-analytics": "^1.8.2",
3233
"@vuepress/plugin-medium-zoom": "^1.8.2",
3334
"@vuepress/plugin-register-components": "^1.4.1",
3435
"babel-core": "^6.26.3",

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2114,6 +2114,11 @@
21142114
dependencies:
21152115
lodash.debounce "^4.0.8"
21162116

2117+
"@vuepress/plugin-google-analytics@^1.8.2":
2118+
version "1.8.2"
2119+
resolved "https://registry.yarnpkg.com/@vuepress/plugin-google-analytics/-/plugin-google-analytics-1.8.2.tgz#96cf65f1f0ecbb3bcf6b0d10089dafe2aea875bc"
2120+
integrity sha512-BMFayLzT2BvXmnhM9mDHw0UPU7J0pH1X9gQA4HmZxOf7f3+atK5eJGsc1Ia/+1FTG2ESvhFLUU/CC3h5arjEJw==
2121+
21172122
"@vuepress/plugin-last-updated@1.8.2":
21182123
version "1.8.2"
21192124
resolved "https://registry.yarnpkg.com/@vuepress/plugin-last-updated/-/plugin-last-updated-1.8.2.tgz#7ce689f8d5050cf0213949bc2e5aa879c09ff4b1"

0 commit comments

Comments
 (0)