Is there any api for dashboard analytics data?

狂风中的少年 提交于 2019-11-26 02:58:45

问题


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:


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

There is no public API to get the analytics data, although you can export the data to a CSV file manually from the Firebase console.

What you can do is 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.



来源:https://stackoverflow.com/questions/35095707/is-there-any-api-for-dashboard-analytics-data

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!