User Properties from Firebase Analytics in DebugView

I put some custom properties in my Android code, for example: ( https://firebase.google.com/docs/analytics/android/properties )

mFirebaseAnalytics.setUserProperty ("easy_account_connected", "true");

Then I checked the debug view and nothing is displayed, whereas if there is a breakpoint, my code settled on this instruction. I can’t understand, there are other places in my code where we can find these properties, and sometimes it works (I see it in the debug view), and sometimes nothing.

This is normal?

I did not find anything on the firebase website that could tell me that the debugging view is not perfect, but the data is saved correctly ...

https://firebase.google.com/docs/analytics/debugview#seconds_stream

EDIT:

Using adbitx, I found that user properties are being sent with an event, so I made a new use case. 2 events (login / logout) and one user property (easy_account_connected). In case of login, I send:

mFirebaseAnalytics.setUserProperty("easy_account_connected", "true");
mFirebaseAnalytics.logEvent("login", null);

and in case of logout I send:

mFirebaseAnalytics.setUserProperty("easy_account_connected", "false");
mFirebaseAnalytics.logEvent("logout", null);

Here is the result in debug view login Ok / logout Nok

Logging in works while logging out does not ...

+4
source share
1 answer

, , , . , - . . , " ".

0

Source: https://habr.com/ru/post/1685095/


All Articles