How to add Firebase custom events for analytics?

Solution 1:

You can see it in console without any hacks, but it is pretty hidden there.

Go to Firebase Analytics -> Stream View -> Select Events -> Top events -> select_content -> there you go

My code:

Bundle params = new Bundle();
params.putString("invalid_url", urlPart);
mFirebaseAnalytics.logEvent("eventInvalidUrl", params);

Firebase Analytics Stream View

Solution 2:

The custom parameters will not be shown. Only suggested events with suggested parameters are presented in dashboard.

To see the custom parameters, you have to link your project to Big Query (it's not free).

Also Firebase will not show information if the number of user is less than 10.