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
It does look like I can call the gtag config method elsewhere in my code. Will this accomplish the goal of tracking all page views with the user_id including the initial page view with the user_id?
Look for best way to add user_id to gtag config?
It doesn't seem possible to add the user_id inside nuxt.config.js like below, since I need the $auth object?
It does look like I can call the gtag config method elsewhere in my code. Will this accomplish the goal of tracking all page views with the user_id including the initial page view with the user_id?
I am adding the above config call when the app header component is mounted. Please suggest if there is a better place to put this.
-- EDIT--
It looked like in the documentation, that instead of calling config twice, I should be calling the set method like this:
This, however doesn't seem to work in analytics data.
The text was updated successfully, but these errors were encountered: