Firebase Analytics Custom Event Options

I am completely new to Firebase analysis. I am trying to send an event that shows the statistics of my API call.

endTime = System.currentTimeMillis() - startTime; // [START event] Bundle params = new Bundle(); params.putString(FirebaseConstants.PHONE_NUMBER, Utility.getPhone()); params.putLong(FirebaseConstants.DURATION, endTime); FirebaseAnalytics .getInstance(getContext()) .logEvent(FirebaseConstants.BALANCE_CHECK, params); // [END event] 

But I only see the name of the event, the number of users and the number of matches. 24 hours have passed and I do not see my custom properties. For reference, I want to see the phone number (Utility.getPhone ()) and the time that the API call is making (end time). It is possible, it is possible that it is not sending anything, because I created my own parameters in the FirebaseConstans class

+45
android events firebase firebase-analytics
May 29 '16 at 8:49
source share
6 answers

[Update, May 2017]

As of May 2017, custom dimension reporting is now supported in Google Analytics for Firebase. Please refer to this help center article for more details.

+45
May 29 '16 at
source share

According to the documentation, you need to link to BigQuery to see the user options:

Custom dimensions: Custom dimensions are not directly presented in Analytics reports, but they can be used as filters in the audience definitions that can be applied to each report. Custom Options: Also included in data exported to BigQuery if your application is associated with a BigQuery Project.

Source: https://firebase.google.com/docs/analytics/android/events#log_events

+4
Jun 14 '16 at 8:41
source share

I contacted firebase support and got the answer:

It seems that the parameters are not pre-populated automatically. When creating your audience, you will need to fill them yourself.

The fact is that the data will be filled only with events that arose AFTER the creation of a new audience, you will not receive the data collected up to this point, which I would expect that to happen ...

Edit: from support for firebase support

Audiences are not retroactive, so you really need to create them before the data is filled inside them. Note that existing data can still be viewed and queried if related to BigQuery. Also keep in mind that most audiences will have a minimum threshold that must be met before reports are generated for them.

+3
Jul 06 '16 at 10:18
source share

your user data and parameters will be available as soon as your audience reaches 10 or more, that is, confidentiality restriction. therefore, just use it in your activity as:

 FirebaseAnalytics mFirebaseAnalytics = FirebaseAnalytics.getInstance(this); Bundle bundle = new Bundle(); bundle.putString("some_key", "some_value"); mFirebaseAnalytics.logEvent("some_name", bundle); 

it will work (after some time (maximum 24 hours) you can see some_name as an event in your event view, but some_key will be available if the audience is 10 ores).

+3
Aug 28 '16 at 9:54 on
source share

Starting with https://support.google.com/firebase/answer/7397304?hl=en&ref_topic=6317489 , you need to register your settings before they can be displayed.

When you first configure user settings, a data map for it will be added to your detailed event report. However, it may take up to 24 hours to display any data.

enter image description here

+3
Jul 06 '17 at 7:40
source share

From https://firebase.google.com/docs/analytics/android/events#log_events

Custom dimensions: Custom dimensions are not directly presented in Google Analytics reports, but they can be used as filters in audience definitions that can be applied to each report.

+1
Sep 08 '16 at 8:09
source share



All Articles