Users number is wrong in GA
Closed this issue · 2 comments
v3nt commented
If you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.
Description
Ony page views being recorded but Google Analytics is only ever seeing 1 users when there are hundreds
Expected behavior
There should be more than 1 user 'in last 30 minutes'
Actual behavior
Only 1 users is ever recorded
Environment
vue-gtag@1.16.1
nuxt@2.15.8
- Operating system: Mac OS
- Browser and version: All / any
Reproducible Demo
Code used for calling page view
function recordPageview(name) {
pageview(name);
}
watch(() => route.value.name, recordPageview);
Nuxt config
plugins: [
{ src: '~/plugins/gtag.client.ts' },
],
More stats the might be useful:
MatteoGabriele commented
Which version of vue are you using? The example you gave me seems made with vue 3, but you are using vue-gtag legacy for vue 2. I'm a bit confused
MatteoGabriele commented
closing this one for now activity