I am using the Analytics’ DebugView to debug the tracked events of my app.
The Firebase documentation, says the following:
After setting a user ID, all future events will be automatically tagged with this value, and you can access it by querying for the user_id value in BigQuery. Adding a user ID will not affect any events previously recorded by Google Analytics.
When I read it, I supposed that doing
// Set the user id property for the `Analytics` service
analytics.setUserId(authUser?.uid ?? null);
would automatically include the user_id
field in the properties of my events. But it is not happening…
Whats wrong with this? Is it the expected behavior? Should we include the property by ourselves when logging the events?