Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Firebase Hosting provide a way to see how many users(access count) visited to the website?

Tags:

firebase

Does Firebase Hosting provide a way to see how many users(access count) visited to the website?
If so, where can I view it?
If not, do I have to store access count in database or something?

like image 490
Daibaku Avatar asked Oct 11 '25 12:10

Daibaku


2 Answers

You need to use Google Analytics for this. Visit this link for more details about how to use GA with firebase.

like image 178
Shahnaz Khan Avatar answered Oct 16 '25 07:10

Shahnaz Khan


Basic entry to Google Analytics

  1. Go to https://console.firebase.google.com/u/0/
  2. Select your project
  3. On the left sidebar, select Build > Hosting
  4. Click Usage tab
  5. Click View in Cloud Logging Firebase > Hosting > Usage > Cloud Logging
  6. It should show you a basic query and histogram of visits (I purposely did not include the logs in the screenshot below) Google Analytics query and histogram

Get more info from here https://firebase.google.com/docs/analytics

like image 39
Haru Lee Avatar answered Oct 16 '25 07:10

Haru Lee