You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Page views sent to google analytics should include config base such as /docs/somepage.html. This is especially expected if vuepress is used to serve only a part of a website in some folder such as /docs.
What is actually happening?
Router to.fullPath is just somepage.html, and is used to log page views.
Other relevant information
Your OS: Ubuntu 16.04
Node.js version: 8.11.2
Browser version: Firefox 61
Is this a global or local install? Local install
Which package manager did you use for the install? Yarn
The text was updated successfully, but these errors were encountered:
Bug report
Version 0.14.2
Steps to reproduce
Add a
config.base
path like/docs/
(a) Set
config.ga
to a valid Google Analytics User Id, (b) set NODE_ENV to production and (c) see URL without base prefix in google analytics panelOR just insert this here (https://github.com/vuejs/vuepress/blob/v0.14.2/lib/app/clientEntry.js#L37) :
What is expected?
Page views sent to google analytics should include config
base
such as/docs/somepage.html
. This is especially expected if vuepress is used to serve only a part of a website in some folder such as/docs
.What is actually happening?
Router
to.fullPath
is justsomepage.html
, and is used to log page views.Other relevant information
The text was updated successfully, but these errors were encountered: