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.
First of all Login to your Blogger Dashboard. On Blogger Dashboard, click Theme . Click the arrow down icon next to 'customi…
About the author
Lost in the echoes of another realm.
4 comments
Rdhoasw
how to implement in plus UI how
Deø Kumar
Plus UI has inbuilt view counter. No need to add these scripts.
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.
Deø Kumar
Thank you for informing me, I shall soon update the post and reply to this thread.