-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Double GA payload #353
Comments
I'm sorry but I need a reproduction on code sandbox or codepen, not a link to a website. |
Experienced the same issue. I hope my comment will be helpful:) https://codesandbox.io/s/vue-gtag-nuxtjs-pwimf?file=/plugins/gt.client.js Look at the network tab in your browser. You see two rows: Notice that the first one is xhr request and another one is gif. Now let's compare requests query parameters. In the second request |
If you are using a GA4 property, this may be caused by: #406 |
The weird part is the initiator: analytics.js? |
Description
I get a double GA Request payload when a page is viewed, one with the actual router page name, one with the app name...
Expected behavior
I should only get one payload with the router page name
Actual behavior
First payload is OK, second one is not.
en=page_view&_et=994&_eu=I&dr=https%3A%2F%2Fassistant.cp.com%2Fstock-lead-time-irp&dt=**CP%20Assistant**
this is the app name, that i can see in my GA report along with actual "true" page names (coming from router).
Environment
npm ls vue-gtag
:Reproducible Demo
https://assistant.cp.com/
My config
main.js
router/index.js
The text was updated successfully, but these errors were encountered: