Skip to content

Commit

Permalink
fix($plugin-google-analytics): report site base (#2687) (close #2169)
Browse files Browse the repository at this point in the history
  • Loading branch information
vittominacori committed Dec 3, 2020
1 parent 81cce39 commit 6bbcc69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default ({ router }) => {
ga('set', 'anonymizeIp', true)

router.afterEach(function (to) {
ga('set', 'page', to.fullPath)
ga('set', 'page', router.app.$withBase(to.fullPath))
ga('send', 'pageview')
})
}
Expand Down

0 comments on commit 6bbcc69

Please sign in to comment.