AndroidDev
AndroidDev

Reputation: 5565

Firebase analytics page is blank but Crash reports are working

I am having some trouble integrating my project with Google Firebase analytics. I have followed all the instructions and the integration seems to be complete as I do get Crash reports correctly but the Analytics page is empty.

My build.gradle contents:

compile 'com.google.firebase:firebase-core:10.2.0'
compile 'com.google.firebase:firebase-crash:10.2.0'

compile 'com.google.android.gms:play-services:10.2.0'
compile 'com.google.android.gms:play-services-wearable:10.2.0'

The logs seem to suggest its sending the reports.

I/FirebaseInitProvider: FirebaseApp initialization successful
I/FA: App measurement is starting up, version: 10298
I/FA: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
I/FA: To enable faster debug mode event logging run:
                                                            adb shell setprop debug.firebase.analytics.app 
D/FA: Debug-level message logging enabled
D/FA: Connected to remote service
D/FA: Logging event (FE): select_content, Bundle[{item_name=Demo mode entered, _o=app, _sc=SeatsActivity, _si=-6324821531545085450, content_type=image, item_id=Demo}]
D/FA: Connected to remote service
D/FA: Logging event (FE): select_content, Bundle[{item_name=Demo mode exited, _o=app, _sc=SeatsActivity, _si=-6324821531545085450, content_type=image, item_id=Demo}]
D/FA: Logging event (FE): _e, Bundle[{_o=auto, _et=14578, _sc=SeatsActivity, _si=-6324821531545085450}]
D/FA: Logging event (FE): select_content, Bundle[{item_name=User Authenticated, _o=app, content_type=image, item_id=Authentication}]
D/FA: Connected to remote service
D/FA: Logging event (FE): _e, Bundle[{_o=auto, _et=11345, _sc=AuthenticationActivity, _si=-6324821531545085449}]
D/FA: Connected to remote service

The image seems to suggest there is some analytics but when I go to the Analytics tab its blank. I have waited for couple of days after sending the reports but still the page is blank. Am I missing anything?

enter image description here

Upvotes: 4

Views: 2642

Answers (3)

frankhardenberg
frankhardenberg

Reputation: 70

A bit late but I was having similar issues and it turned out my adblocker was blocking some stuff. I could see the realtime page but the dashboard and events page were staying blank. Maybe other people have the same issue and are happy to read this.

Upvotes: 1

John Sibly
John Sibly

Reputation: 23076

I found out that for G Suite / Google Apps / Enterprise accounts Google Analytics is disabled by default.

If you can get in contact with your administrator (or that's you), they can follow the instructions to enable it here: https://support.google.com/a/answer/6304816

I did this myself, and despite the warning it might take 24 hours, Firebase Analytics page starting working for me straight away.

Upvotes: 1

AndroidDev
AndroidDev

Reputation: 5565

I have been using my Office Gmail ID (Enterprise account) and it seems not to support Firebase or this feature might have been blocked by the Admin. I have deleted this project and created the project under my personal GMail ID and everything is working fine.

It would be good to show a warning/information message why the Analytics will not work with an Enterprise account as this wasted couple of days of effort. Also make sure that you are logged onto only one Google account to view Firebase.

Upvotes: 5

Related Questions