Reputation: 974
all. It looks like our Firebase analytics integration is not working as expected - we have approximately 20 users of our app, but Firebase reports over 1K.
I suspect this has to do with setting the user ID appropriately. But I'm not sure what I've done wrong - we call FirebaseAnalytics.getInstance().setUserId whenever a user signs in.
Are we supposed to call this more frequently? Say, whenever the app is opened? Am I missing some way to associate our users with their IDs in Firebase? Or am I misunderstanding something altogether?
Upvotes: 1
Views: 1134
Reputation: 974
I found the problem here, for any future searchers. The issue was the pre-launch report generated by the Google Play Console. This is causing many anonymous sessions to be reported to Firebase, since the apps are installed/reinstalled many times. This artificially inflates your user count if you are doing something like continuous deployment.
Upvotes: 1