P.S. Sreejith
P.S. Sreejith

Reputation: 1

Active users, Event not being shown in realtime overview in firebase console

I am trying to incorporate firebase analytics into my game. I have installed the firebase analytics sdk in my unity project and done all the setup tasks. I want to know whenever the app is opened by any user The number of active users is 0 since i am using only one device for testing. It goes up when i install the game but not when i open the app later.

FirebaseAnalytics.LogEvent(FirebaseAnalytics.EventAppOpen); is used to log this event. I have written it in the start function of my script.

My realtime overview nor my analytics dashboard shows any event of the name EventAppOpen. I have created two other custom events in my app. They can be seen in the dashboard.

I just want to know when someone opens the app; and the active users count to change when someone uses the app. I thought of using custom events but came to know that there are inbuilt solutions like EventAppOpen and/or SessionStart for this.

Upvotes: 0

Views: 43

Answers (1)

Dan Morenus
Dan Morenus

Reputation: 1088

You appear to be looking for an event called "EventAppOpen", but there is no such event name. The sample code you included doesn't appear to be correct. To build successfully it would have needed to look like: FirebaseAnalytics.LogEvent(FirebaseAnalytics.Event.AppOpen); (note the period between "Event" and "AppOpen") and would log an event called "app_open". You may also need to manually add the app_open event to your events dashboard.

Upvotes: 0

Related Questions