Realtime View Counter using Firebase Database

Realtime View Counter using Firebase Database
Realtime View Counter using Firebase Database After a long time, I am back with an article titled "Realtime View Counter using Firebase Database". Today, I am going to share a Firebase Realtime Database Project that counts Post Views or any event. This is my first project I have tried with Typescript and Firebase v9. As it uses Firebase Javascript SDK , the size of the bundle is a little bit large. I tried using the Firebase Database REST API but the response was quite slower than SDK, so I had to use the Javascript SDK for a better performance. Using it as View Counter You can use it as a View Counter for your post just by specifying the path. Let's try adding it to a Blogger Website. Important! Before we start adding codes in XML, I will recommend you to take a Backup of your current theme. By chance if any problem occurs, you can restore it later. Step 1: First of all Login to your Blogger Dashboard. Step 2: On Blogger Dashboard, click Theme . Step 3: Click the arrow down icon …

About the author

~ Hello World!

4 comments

  1. Rdhoasw
    how to implement in plus UI how
    1. Deo K.
      Plus UI has inbuilt view counter. No need to add these scripts.
  2. Ashif Khan
    Hello sir,
    I want to use both your view counter and click counter. View counter is working properly but click counter is not working properly.

    I want to use click counter as clap counter and use it on every post and home page every post.

    So, please 🙏 can you update it.
    Please 🙏 make update.
    1. Deo K.
      Thank you for informing me, I shall soon update the post and reply to this thread.