docs: Add a GA tag

This commit is contained in:
Matan Kushner 2019-08-20 11:13:10 -04:00
parent 2f9922ff2f
commit dcb78a4e0b
No known key found for this signature in database
GPG Key ID: 4B98C3A8949CA8A4
3 changed files with 16 additions and 1 deletions

View File

@ -25,5 +25,13 @@ module.exports = {
editLinks: true,
// custom text for edit link. Defaults to "Edit this page"
editLinkText: 'Edit this page on GitHub'
}
},
plugins: [
[
'@vuepress/google-analytics',
{
'ga': 'UA-71160903-4'
}
]
]
}

View File

@ -1060,6 +1060,12 @@
"lodash.throttle": "^4.1.1"
}
},
"@vuepress/plugin-google-analytics": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@vuepress/plugin-google-analytics/-/plugin-google-analytics-1.0.3.tgz",
"integrity": "sha512-mqFFQSJjQp5zscZJ0Ik+YDLV7sZSAO8w13CG8c5WsUCjy+0oWhqAw/NjpVrEK8Y/PdYPe4l/OE5jMUU5AqRRjg==",
"dev": true
},
"@vuepress/plugin-last-updated": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@vuepress/plugin-last-updated/-/plugin-last-updated-1.0.2.tgz",

View File

@ -4,6 +4,7 @@
"build": "vuepress build"
},
"devDependencies": {
"@vuepress/plugin-google-analytics": "^1.0.3",
"vuepress": "^1.0.2"
}
}