Skip to content

Commit

Permalink
fix: missing config.base in google analytics page view URL (close: #818
Browse files Browse the repository at this point in the history
…) (#834)
  • Loading branch information
abruere authored and ulivz committed Sep 15, 2018
1 parent e26bfb5 commit 559888b
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 559888b

Please sign in to comment.