BVtp
BVtp

Reputation: 2480

Firebase Analytics Event properties are not shown, but do appear in DebugView

I have added Firebase Analytics events to my android app, and when I tested it with DebugView, I could clearly see the events and all their properties.

However, after launching the app, I can only see the events themselves, and the properties are missing.

I'm using :

val props = mutableMapOf<String, Any>()
props["test key"] = "test value"

Firebase.analytics.logEvent("action_test", props.toBundle())

As stated above, it works perfectly fine when I test it using the DebugView in Firebase console.

But when I go to Events sections, and click on some event, and then go to add filter, I cannot see the event properties. The only thing I see is in that page, some statistics like the total number of events, etc.

Upvotes: 4

Views: 3966

Answers (1)

Viatcheslav Ehrmann
Viatcheslav Ehrmann

Reputation: 746

In Firebase under "Analytics" click on "Events". Then click on the specific event you want to see the parameters of.

In your example the event name is "action_test", the parameter name is "test_key", the parameter values are the values of the map.

Now click on "action_test" in Events. It will open a detailed view for the event. Some cards will have as the title the name of the parameter.

It will take some time before the events are shown. Can be up to a couple of hours.

Upvotes: 0

Related Questions