3
votes

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?

1
Hey have u tried _analytics.logEvent('session_button', map); - adkstar
Why would that work? - temp_
b/c you are using named params, and on their official doc, they just use it the naming. It's just something to try - adkstar
@adkstar The code you posted is exactly the same as the OPs but does not correctly pass the named parameters that the official docs specify. It won't work guaranteed. - Christopher Moore

1 Answers

0
votes

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.