24

Is there any way i can query in my app for data from the analytics tab of dashboard?

For example:

ref.on("value", function(dashboard) {
 console.log(dashboard.concurrentUsers)
});
1
  • 2
    In your js console, you can using one of the ordering functions: orderByChild(), orderByKey(), orderByValue(), or orderByPriority(). You can then combine these with five other methods to conduct complex queries: limitToFirst(), limitToLast(), startAt(), endAt(), and equalTo(). For more details, please refer here:firebase.com/docs/web/guide/…
    – bjiang
    Commented Jan 29, 2016 at 23:33

1 Answer 1

40

From the "dashboard.concurrentUsers" in your question, it looks like you're trying to get the data from the Analytics tab of your dashboard.

As of Oct/Nov 2020 there is an Analytics Data API that you can use to run Analytics reports and retrieve data

You can also enable the BigQuery integration. Doing this means that all Google Analytics for Firebase events from that moment on will be written to BigQuery, where you can query them. This is the raw data, the events written by your apps, and not the aggregated data that you find in the dashboard.

7
  • 22
    Has google yet provided public api to firebase analytics data ?
    – Anjum
    Commented May 3, 2017 at 9:51
  • 1
    Hi Frank Is there any way to get google playstore app details Commented Jul 14, 2017 at 9:05
  • 2
    This answer is two years old by now. Has this changed in the mean time (2018)? Cheers!
    – epologee
    Commented May 16, 2018 at 7:08
  • 1
    they at list add a deletion method lately to help us with GDPR:support.google.com/firebase/answer/…
    – dang
    Commented Jun 4, 2018 at 12:52
  • 17
    There is no API for getting the analytics data from the Firebase console. If this changes in the future, I'll update this answer. Commented Nov 13, 2019 at 18:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.