Where to see Firebase Analytics event custom parameters in console? - firebase

I defined a custom event and am logging it as follows:
Analytics.logEvent("upload_art", parameters: ["size": ((art.size ?? 0) / 1000000)])
I am seeing the event propogate into the console after 24 hours, but I don't see any reporting on the custom parameter size. I'd like to be able to see reporting on this and an average. How do I set this up? In older blog posts from the firebase team, it seems as though I should be able to see this in the console but my console looks like this:
(I am seeing that "size" is being correctly logged in the debug view.)

Related

Accessing User ID as a variable in Google Tag Manager for mobile

I'm getting started with Google Tag Manager for Android/iOS, and can't find a way to access the User ID as a variable. I can access Firebase User Properties and Event Parameters just fine.
So far, I've tried setting it using FirebaseAnalytics.setUserId and trying to access it as a User Property called user_id / userId.
Some workarounds I've thought of:
Using a CustomVariableProvider (preferred)
Setting the User ID as an Event Parameter (this wouldn't work with built-in events)
I'm just trying to make sure there's no built-in way of doing this before I resort to workarounds. Thanks!
I was not able to find the User ID (or UID) in the list of built-in variables, see this screenshot
There is a built-in way, but it requires quite a sophisticated setup.
In GA version 4 the path is changed comparing to the previous version, where the same could be done much easier via "Tracking Info".
Here are the starting steps in GA4:
Open https://analytics.google.com/analytics/web
Bottom-left corner -> Admin -> Setup Assistant -> Advanced setup -> User ID
Follow the instruction
After that UserID will be available in GTM.
Video guide for exact steps: https://www.youtube.com/watch?v=TVJMFVOXFUQ

GA4 dimension "Signed in with user ID" disabled

After configure the google analytics property using GA4 instead of UA, I've seen there is something wrong with the user Id dimension.
As you can see in the following image seems like GA4 is not receiving data with the user_id property so it is unable to filter by the property.
By the way I'm referring to this property I'm using a Reporting identity option called By User-ID and device.
Seems like I have something wrong on my configuration, however when I use the DebugView tool of GA4 I can see the user_id is properly sent:
So I'm not sure what's going on here.
Why is Signed in with user ID dimension disabled?
One day after "Signed in with user ID" is enabled without any additional configuration change. So it seems like it just needed some time to fit with data I guess.

Firebase analytics event parameters not showing in console

I have been logging my event clicks, which seem to show up but I can't seem to find parameters anywhere in the Firebase Console. All I see is:
Events with custom reporting parameters will show up here
Here is how I am adding parameters:
var map = {'label': value};
_analytics.logEvent(name: 'session_button', parameters: map);
I can see session_button showing up in my console, just no data for the event parameters. Am I missing anything?
You don't seem to have any error in your code.
In the events tab of the Firebase Analytics console you have to click the three vertical dots on the right of your session_button event and do Edit parameter reporting. From there you can add the parameter that you want. Your custom label parameter should be on that list assuming the event has been triggered at some point. Following this your parameters should show up in other views.

Firebase Analytics - Events Reporting - drill down on event parameters

I have integrated my web app with firebase and enabled analytics.
I am logging an event for login as follows
analytics.logEvent('login', {'method': 'facebook'})
analytics.logEvent('login', {'method': 'google'})
I am able to see the events in the events section.
What I would like to see is the drill down of login events based on method.
i.e
Login event:
method : Facebook ---- x events
method : Google ---- y events
For the login event, on the edit parameter reporting section, I have added the required parameter (in my case: method) and saved.
After this I could see a new card displaying the following
But I can't see any other info. Can some one tell me how to get this drill down information.
Is it even possible to get this drill down info.
It seems whatever I have done is the right thing. It is just that the GA shows the drill down only for the data that it received after adding the parameters.
For the previous data it shows as not set
Now I am able to see the drill down.

Firebase logging error on automatic events

I am logging some custom events on Firebase Analytics, but some errors keep getting logged for automatic events (such as screen_view) along with the custom events, whether I call them explicitly or not. When I log regular custom events (a button click, for example), I can see them on DebugView without any errors.
I have validated the rules for names (maximum of 36 chars for event key, maximum of 100 for value) as this answer from Chintan points and confimed that no event has reserved names.
I keep getting the error code 13 - which means Event name is reserved, according to the Analytics Error Codes.
Any ideas of what might be happening? Anybody facing the same issue?
Here's how the error is shown at DebugView:
Thanks in advance!
Edit:
Adding a piece of the log, as requested:
Can you check to see if you are using your event names prefixed as "firebase_", "google_" or "ga_"?
As per the official documentation **The "firebase_", "google_" and "ga_" prefixes are reserved and should not be used.**
According to the API docs for Analytics.Event, screen_view is a reserved event name and cannot be used for logging your own custom event.

Resources