Create a Blogger Realtime View Counter with Firebase

Camillycams.com – After almost 2 weeks Count API has resolved,course there a solution for those who want install Visitor Counter View Counter on Blog Posts

In this post, I will explain how to install a View Counter on a Blog Post using Firebase. Here I will explain 3 things, namely how to create a database in Firebase, how to edit templates and how to customize JavaScript.

Create a Blogger Realtime View Counter with Firebase

Actually, already have an email from GMail and log browser, you automatically have a Firebase account.

Project Creation

Create a Blogger Realtime View Counter with Firebase - After almost 2 weeks the Count API has not been resolved, of course there must
  • Give the name of the Project, feel free to give any name
Create a Blogger Realtime View Counter with Firebase - After almost 2 weeks the Count API has not been resolved, of course there must
  • Click Continue
Create a Blogger Realtime View Counter with Firebase - After almost 2 weeks the Count API has not been resolved, of course there must
  • You can use an existing account, or create a new account
  • Check accept Google Analytic term Create project (change the country name or not)
Create a Blogger Realtime View Counter with Firebase - After almost 2 weeks the Count API has not been resolved, of course there must

Project creation is complete, proceed to database creation

Create a Blogger Realtime View Counter with Firebase - After almost 2 weeks the Count API has not been resolved, of course there must

Firebase Database Creation

  • Click Build > Realtime Database
  • Click Create Databases
  • Click Next (you don’t need to change the server to US-central-1)
  • Click Start in test mode, click Enable
  • Click Rules and the display will be like the picture
  • replace Rules with this code
{
  "rules": {
    ".read": "true",
    ".write": "true",
  }
}

that looks picture click Publish your Firebase URL

Leave a Comment