Skip to content

Commit

Permalink
fix: vuejs#818 Missing config.base in google analytics page view URL
Browse files Browse the repository at this point in the history
  • Loading branch information
abruere committed Sep 9, 2018
1 parent 6857aac commit b2078bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/app/clientEntry.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if (process.env.NODE_ENV === 'production' && GA_ID) {
ga('send', 'pageview')

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

0 comments on commit b2078bb

Please sign in to comment.