Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase analytics events don't show value

I have a game and I want to send event every time user sets new high score, I check if current score is > that previous and if it is I send that new high score to firebase. code:

Bundle bundle = new Bundle();
bundle.putLong(FirebaseAnalytics.Param.LEVEL, extras.getInt("score"));
mFirebaseAnalytics.logEvent(FirebaseAnalytics.Event.LEVEL_UP, bundle);

This is how it looks like in firebase console: image link

You can see how events are grouped by their value.

Problem is that i have 4 different modes and I want to capture high scores for each, so this is how I tried that:

Bundle bundle = new Bundle();
bundle.putLong(FirebaseAnalytics.Param.LEVEL, extras.getInt("score")); 
mFirebaseAnalytics.logEvent("mode4level", bundle);

And this is what I get in firebase console: image link

Grouped events by value are missing, I have only Event Location, Event demographics, Events per session.

How can I fix that, key part of analytics is missing ? Thank you.

like image 360
Alen Avatar asked Jun 12 '16 09:06

Alen


People also ask

How do I view events in Firebase Analytics?

View events in the dashboard You can access this data from the Events dashboard in the Firebase console. This dashboard shows the event reports that are automatically created for each distinct type of event logged by your app.

Is Firebase better than Google Analytics?

Generally, if you are solely focused on creating and developing apps, Firebase is the best option for your business. It is mobile-forward and focused on the development of mobile apps. This will work better for an app-focused company. If you only have a website, Google Analytics is the best option.

How do I get data from Firebase Analytics?

Sign in to your Firebase account at firebase.google.com. On the Welcome page, select your app. In the left navigation, click Analytics. Click the tab for the report you want (e.g., Dashboard, Events, Audiences).

What is NPA in Firebase Analytics?

“NPA” stands for non-personalised ads. The data marked as “NPA” will not be used in advertising, it will only be available for analysis purposes only. You can include or exclude individual events and user properties from being used to personalise ads at any time.

Can I see custom event parameters in Firebase Analytics?

And for specific events, you can see useful stats like the number of events fired over time or the average number of events per session. But one thing that you currently can't do (outside of BigQuery) is see values associated with any custom parameters that you send down in a Firebase Analytics event.

How do I test a firebase app?

For immediate testing, use the logcat output as described in the previous section. You can access this data from the Events dashboard in the Firebase console. This dashboard shows the event reports that are automatically created for each distinct type of event logged by your app. These recommendations help you find the content you are looking for.

What is Firebase_error_value?

A firebase error event is logged with a firebase_error_value parameter which indicates the invalid user property name. The value parameter is dropped. A firebase_error parameter is added to the event and a firebase_error_value parameter is added to indicate the name of the parameter with the invalid type (value).

What are event types in salesforce analytics?

Events provide insight on what is happening in your app, such as user actions, system events, or errors. Analytics automatically logs some events for you; you don't need to add any code to receive them. If your app needs to collect additional data, you can log up to 500 different Analytics Event types in your app.


1 Answers

Reporting on parameters is limited to a subset of suggested events such as the LEVEL_UP event you mentioned. You can find more information in this thread.

Technically, you could register a user property like "game_mode" and setting the value of this before you log LEVEL_UP. Then you could filter your LEVEL_UP event reporting using the filter game_mode=<mode>. We don't generally recommend doing this since user properties are meant to be used for attributes of your users that do not change often. However, it may suit your needs here.

Alternatively, you can just add a "game_mode" parameter to the LEVEL_UP event and then link your app to BigQuery to analyze your raw data to get a breakdown of levels per game mode.

like image 101
Steve Ganem Avatar answered Sep 29 '22 11:09

Steve Ganem