Before you start
Create a free BYOViral account, add your blog's address as a website and copy your BYOViral tracking code (in the dashboard, open Websites, choose your site and press Edit; the code is at the bottom of the page). If you choose a public profile, the code also shows your rank badge in a corner of the blog.
Add the code with a gadget
In Blogger, open Layout, click Add a Gadget in the sidebar or footer area, choose HTML/JavaScript, paste the code into the content box, leave the title empty and press Save. The gadget loads on every page that shows that sidebar or footer, which on most themes means every page.
Or put it in the theme
If your theme hides the sidebar on posts or on mobile, add the code to the theme instead. Open Theme, use the arrow next to Customize, choose Edit HTML, find </head> and paste the code just above it. Save the theme. Keep a backup first; the same menu has Backup.
Check that it works
Open your blog in a private window and look at the Realtime report in your BYOViral dashboard. Your own visit should appear within a few seconds. If it does not, view the page source and search for byoviral to make sure the code is there.
Frequently asked questions
Does it work on a free blogspot.com address?
Yes. Blogger allows HTML/JavaScript gadgets on every blog, with or without a custom domain.
Will Blogger's own stats and BYOViral show the same numbers?
No, and that is normal. Blogger counts many automated visits that BYOViral filters out as bots, so BYOViral is usually lower.
Can I show the visitor count on the blog?
Yes. Make the website public in BYOViral and the code shows a small rank badge, or use the free image hit counter for a simple number.
Try BYOViral free
Privacy-first analytics with no cookies and a real free tier.
Create your free account →