I deployed an website using Firebase Hosting. could i Know the website traffic? I know that I can see the downloads of the website but I wanna see a number of people or something like that.
There are two main ways to do this:
Implement Google Analytics (or even Google Analytics for Firebase if you are building more of an interactive app).
Enable Cloud Logging which will cause a log entry to be generated for every request to Firebase Hosting, which you can then analyze using Cloud Monitoring, BigQuery, etc.
Based on your description (1) is probably the way to go as it's easy to implement and provides nice dashboards out-of-the-box.
Related
The educational organization that I'm working for have for some years been using a custom built Firebase site as a Learning Management System: custom email/password authentication, access of pedagogical recources with custom built frontend exercise modules/learning games, user administration etc.
Now, this organization is to an increasing extent using Google Workspace for user administration, resource sharing etc. However, Workspace itself can't be used as a replacement for the Firebase site due to the limits in design possibilites, lack of customization of pedagogical content etc.
So, does Google Workspace provide api's that would make it possible to use it as a "backend" for a Firebase frontend?
The most basic and inportant thing is authentication/authorizaion: Users should get access to the Firebase site and its resources via their Workspace account group and membership(s) in Workspace group(s).
When it comes to content, it would be great to - apart from the custom Firebase documents/pedagogical modules - also be able to present documents/resources from associated Workspace groups.
All in all: as much as possible of user auth, user adminstration, document resources should be kept on the Workspace side, with Firebase used as a facade communicating with workspace via api's, and also providing the customization possibilites when it comes to special content not possible in the Workspace context.
How much of this can be done with the combination of Firebase and Google Workspace today?
Preferrably using api calls, not by first copying/syncing database information back and forth?
I'm trying to find a way to allow users to create and setup firebase project on their own google account from a client app, and get all their project information, urls and so on.
I took a look at the new project management api but can not figure out how to achieve this.
The management API currently does not support the creation of a new Google Cloud project. You are free to file a feature request for that, but it's worth pointing out that project creation is a complex issue and needs to be gated by abuse prevention measures.
You might also want to look into Google Cloud APIs for dealing with projects.
In firebase we have 5 projects and 2 to 6 apps per project. Each project has their own overview / dashboard (eg. with Analytics & Crashlytics graphs).
However, we'd like to have a single dashboard as overview for all projects (if possible, with a filter for apps for each project). Is it possible to configure this in the Firebase console somehow? If not: is it possible to extract the necessary data ourselves to create our own dashboard (and where can we extract that data)?
You can link your firebase analytics to Google Analytics. It can be done from analytics dashboard in your firebase project. It's basically an agreement that let your firebase data accessible from Google Analytics panel! (I'm not a lawyer, if you want to make sure what's going on please check it with your lawyer!)
Then in Google Analytics, you can make custom reports.
I'm not sure if custom reports are useful for your specific need, so please check beforehand.
How should I integrate analytics into a PWA webapp ? if I add analytics from google analytics into webapp and publish it in a server, then later, if I want to publish it on Google Play Store, how should I track the use?
here's the scenario:
I'm deploying the PWA from a subdomain.
then I'm publishing the PWA from Google Play Store as a TWA.
My concerns:
Should I use the google analytics snippet for web to track the subdomain-based pwa and firebase analytics for my Google Play Store app?
Or,
Can I use a single method to track both versions at the same time?
I have found this faq of chrome developer about use of google analytics
The CPA library follows the basic usage pattern of Google Analytics and will feel familiar to existing users of Google Analytics. However, unlike the web-centric official Google Analytics JavaScript libraries, the CPA library uses an "app-centric" model that is better suited for Packaged Apps. Among other features, the library provides methods for specific types of hits, such as "event" and "appView", and it can be used in both Closure-based and traditional JavaScript projects.
I am using Vuejs as frontend with pwa template, not sure if it is applicable for my use case. Any suggestion or direction would be much appreciated.
I am using THIS - Web + App configuration.
Using this you can track both at the same time.
You can configure it easily in firebase - see HERE for more
I've searching a lot about someway to embed Firebase Analytics from my apps data into the backend UI from my website.
Is it possible to automate this process through some specific API methods to show those metrics from my Firebase Apps (like the number of installations or even the audience data)?
Thanks in advance!
Update: There now is an API to retrieve the analytics report data. See my answer here for details: Is there any api for dashboard analytics data?
The other two options are:
Use the "Export to CSV" option for the analytics in the Firebase console. This is a manual operation though, there is no public API.
Link your Firebase project to BigQuery, to automatically export the data and then use for example Data Studio to generate the charts you want.