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
I'm using VueGTag with bootstrap: false.
Then I use setOptions and pass the id and user_id properties in the config object.
After that, I call bootstrap().
Everything seems to work, but the config event I see in the GA debug tools does not contain the user_id property. Nor any other property I set in there (e.g. language).
The setOptions seems to work as the id is passed correctly because everything is getting tracked (if I omit that it doesn't start tracking or throws an error on bootstrapping).
So I'm not sure which event has the user_id and if it is even being sent...
Expected behavior
The config event has this: "config", "G-XXXXXXXXX", {send_page_view: false}
But I would expect something like this: "config", "G-XXXXXXXXX", {send_page_view: false, user_id: 'ABC' }
The text was updated successfully, but these errors were encountered:
Environment *
npm ls vue-gtag
: [email protected]npm ls vue
: [email protected]Description *
I'm using VueGTag with
bootstrap: false
.Then I use
setOptions
and pass theid
anduser_id
properties in theconfig
object.After that, I call
bootstrap()
.Everything seems to work, but the
config
event I see in the GA debug tools does not contain theuser_id
property. Nor any other property I set in there (e.g.language
).The
setOptions
seems to work as theid
is passed correctly because everything is getting tracked (if I omit that it doesn't start tracking or throws an error on bootstrapping).So I'm not sure which event has the
user_id
and if it is even being sent...Expected behavior
The config event has this:
"config", "G-XXXXXXXXX", {send_page_view: false}
But I would expect something like this:
"config", "G-XXXXXXXXX", {send_page_view: false, user_id: 'ABC' }
The text was updated successfully, but these errors were encountered: