How much time does it take for firebase analytics first report?

FirebaseFirebase Analytics

Firebase Problem Overview


We wanted to try out the new analytics capabilities provided by firebase and followed all the steps in the getting started guide.

We've run the app, logged a lot of events, and it's been a few hours, yet there is no data on the dashboard - We just see a banner saying "Your analytics data will appear here soon"

How much time does it take to get our first reports, events, etc.?

Firebase Solutions


Solution 1 - Firebase

It takes a few hours. I would say it takes like 4 hours or something like that, based on current experiments.

Firebase says that it can take up to 24h hours, but the docs say that the dashboard updates "a few times every day".

And if you send the Firebase events to BigQuery, they create a new dataset there everyday, but it seems that the "old" events are not sent immediately, maybe that takes a few hours too, don't know yet.


If you want to test other features, or see if Firebase is working for your app, you can force a crash, and see it in the Crash panel, cause this works almost real time.
Or you can send a notification to all users, this should work too, and it is faster than waiting for 4h or more to see if it is working really.
Remember to add the dependencies if you are going to try this:

compile 'com.google.firebase:firebase-crash:9.0.0'
compile 'com.google.firebase:firebase-messaging:9.0.0'

Solution 2 - Firebase

From the moment an event is logged it might take up to an hour for the event to be uploaded to Firebase Analytics server. First open is normally uploaded within 15 seconds after the app starts but the exact time depends on many factors. You can enable debug logging to verify the events are logged and uploaded.

On Android:

adb shell setprop log.tag.FA VERBOSE
adb shell setprop log.tag.FA-SVC VERBOSE
adb logcat -v time -s FA FA-SVC

On iOS:

  1. In Xcode, select Product > Scheme > Edit scheme...
  2. Select Run from the left menu.
  3. Select the Arguments tab.
  4. In the Arguments Passed On Launch section, add -FIRAnalyticsDebugEnabled.

Once the data is uploaded it takes about 3 hours for it to appear in the dashboard.

The export to BugQuery runs once a day so you need 24 hours to see the data after the events were uploaded.

Solution 3 - Firebase

Why it just so happens I wrote a blog post on exactly this topic!

You should check it out for all the details, but the tl;dr is "a few hours", unless you're exporting your data to BigQuery.

Solution 4 - Firebase

An Android device sends Firebase Analytics data every X hours but you can use the following ADB command to immediately upload analytics data when registering an event:

adb shell setprop debug.firebase.analytics.app your.package.name

To check if data is being sent, you can check the logs:

adb shell setprop log.tag.FA VERBOSE
adb shell setprop log.tag.FA-SVC VERBOSE
adb logcat -v time -s FA FA-SVC

Once uploaded, the data is processed on Firebase servers, and this can take up to 24 hours until you can see the data in the Firebase console.

Solution 5 - Firebase

Firebase Analytics Event Update time on Firebase Console.

When an event is logged, It might take up to an hour for the event to be uploaded to Firebase Analytics server and to reflect on Firebase console.

You can enable debug logging to verify the events are logged and uploaded using the Android studio's terminal

- Make sure you are not connected to more than one device/emulator

adb shell setprop log.tag.FA VERBOSE
adb shell setprop log.tag.FA-SVC VERBOSE
adb logcat -v time -s FA FA-SVC

Solution 6 - Firebase

If it is for debugging you can use this Firebase guide to see the logs almost right away:

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

Solution 7 - Firebase

Make sure you disable any ad blockers you're using with your browser or whitelist the Firebase console website. If you don't do this, you'll see blank dashboards.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionManoj MadanmohanView Question on Stackoverflow
Solution 1 - FirebaseSalvatorelabView Answer on Stackoverflow
Solution 2 - FirebasedjabiView Answer on Stackoverflow
Solution 3 - FirebaseTodd KerpelmanView Answer on Stackoverflow
Solution 4 - FirebaseSiarhei KavaleuskiView Answer on Stackoverflow
Solution 5 - FirebaseRajesh ShettyView Answer on Stackoverflow
Solution 6 - FirebaseVadim F.View Answer on Stackoverflow
Solution 7 - FirebaseLifesView Answer on Stackoverflow