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
What are you reporting?
Vue.use(VueGtag, {
pageTrackerPrependBase: false,
pageTrackerEnabled: false,
pageTrackerScreenviewEnabled: false,
config: {
id: process.env.VUE_APP_ANALYTICS_KEY
}
})
I tried to stop sending a page view after a change of route, but nothing works, It send a page view at each route change
I am working with history mode
Expected behavior
Tell us what you think should happen.
I was hoping the nothing will be send on a route change
Actual behavior
Tell us what actually happens.
A query is sent to GA on every route change. I am not sure if I am missing something in the config to stop the auto page tracker
Reproducible Demo in case of a bug report
Please take the time to create a new app that reproduces the issue or at least some code example
Vue.use(VueGtag, {
pageTrackerPrependBase: false,
pageTrackerEnabled: false,
pageTrackerScreenviewEnabled: false,
config: {
id: process.env.VUE_APP_ANALYTICS_KEY
}
})
The router is in history mode
Demonstrable issues gets fixed faster.
The text was updated successfully, but these errors were encountered:
The page view events continued to be sent. I removed the Gtag config from this lib and directly used the default gtag config in my index.html that load the SPA. Even with this, events continued to be sent.
Please fill in at least the mandatory (*) questions below, or I will immediately close this issue without reading. Thanks
Environment *
Run this command in the project folder and fill in their results:
npm ls vue-gtag
:`-- [email protected]
npm ls vue
:+-- [email protected]
Then, specify:
windows 10
Chromium 109.0.5414.119
Description *
What are you reporting?
Vue.use(VueGtag, {
pageTrackerPrependBase: false,
pageTrackerEnabled: false,
pageTrackerScreenviewEnabled: false,
})
I tried to stop sending a page view after a change of route, but nothing works, It send a page view at each route change
I am working with history mode
Expected behavior
Tell us what you think should happen.
I was hoping the nothing will be send on a route change
Actual behavior
Tell us what actually happens.
A query is sent to GA on every route change. I am not sure if I am missing something in the config to stop the auto page tracker
Reproducible Demo in case of a bug report
Please take the time to create a new app that reproduces the issue or at least some code example
Vue.use(VueGtag, {
pageTrackerPrependBase: false,
pageTrackerEnabled: false,
pageTrackerScreenviewEnabled: false,
config: {
id: process.env.VUE_APP_ANALYTICS_KEY
}
})
The router is in history mode
Demonstrable issues gets fixed faster.
The text was updated successfully, but these errors were encountered: