We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81cce39 commit 6bbcc69Copy full SHA for 6bbcc69
packages/@vuepress/plugin-google-analytics/enhanceAppFile.js
@@ -20,7 +20,7 @@ export default ({ router }) => {
20
ga('set', 'anonymizeIp', true)
21
22
router.afterEach(function (to) {
23
- ga('set', 'page', to.fullPath)
+ ga('set', 'page', router.app.$withBase(to.fullPath))
24
ga('send', 'pageview')
25
})
26
}
0 commit comments