问题
Is it possible to have Firebase analytics hook into a remote REST API endpoint?
More concretely, suppose I have a remote REST API, with an endpoint that computes the average number of videos each of my users has uploaded, /api/videos/get_average_count
. Can I somehow integrate that statistic into Firebase analytics? (I don't think there is a reporting API in Firebase analytics?)
Alternatively, is there anyway, I can take the Firebase data from the other analytics (tracked at the frontend) and integrate/embed that data into my own custom admin hosted on my own backend?
回答1:
There's no available REST API where you can upload, download or even analyze analytics data. You could reach out to the Firebase Support team and file a feature request for this. I believe that it's not only you who's looking for this kind of functionality in Google Analytics for Firebase.
You could directly download your event's analytics data as CSV using the Firebase console. Or, if you're on a blaze plan, link your Firebase to BigQuery, and the analytics data will be exported to a corresponding data set in a daily basis.
来源:https://stackoverflow.com/questions/50355752/firebase-analytics-from-remote-rest-api