Blogger still hosts millions of blogs on blogspot and custom domains, and every one of those sites has the same problem: adding a small piece of live data — how many people are reading, which countries visit, where people click — usually means installing a gadget you'll have to maintain, update and trust.
Nothing to install. Blogger's own HTML/JavaScript gadget takes raw markup, which is all this needs — and unlike a theme edit, a gadget survives changing your theme. Every widget below is one snippet, pasted in once. Pick one and the page tells you the exact menu path for Blogger, the gotchas, and what to do if you're on an older theme or a page builder.
Blogger's own gadgets cover the basics, but many third-party counters and badges that bloggers relied on have shut down over the years, leaving broken images in sidebars. FeedPulse widgets drop into Blogger's built-in HTML/JavaScript gadget: Layout → Add a Gadget → HTML/JavaScript, paste the snippet, save. No account is needed for the badge-style widgets.
You can paste code into Theme → Edit HTML, but changing or restoring your theme replaces the whole template and takes your code with it. Gadgets are stored in your layout instead, so they survive theme changes. Use the theme editor only for sitewide scripts that must sit in the <head>, such as the heatmap, and keep a note of what you added.
Goes in Theme → Edit HTML, before </head>, because it has to load on every page before your clicks happen, and it renders nothing visible.
Goes in Layout → Add a Gadget → HTML/JavaScript, in the footer area, because an all-time total is a footer artefact — nobody scrolls up to check it.
Goes in Layout → Add a Gadget → HTML/JavaScript, in the sidebar, because local conditions are a glanceable sidebar item, not a content block.
Goes in Layout → Add a Gadget → HTML/JavaScript, in the sidebar, because a ticker reads best as a persistent strip beside the content.
Goes in Layout → Add a Gadget → HTML/JavaScript, in the sidebar, because quotes are reference data — visible, but never competing with the article.
Goes in the post editor, switched to HTML view, because a countdown works above the fold on the page that's actually selling the thing.
Goes in the post editor, switched to HTML view, because it's the most visual widget you have, so it earns a spot in the content rather than the chrome.
Goes in an HTML/JavaScript gadget below posts, or the post's HTML view, because it belongs directly under the article body, which means the blog-post template rather than a global widget area.
Goes in Layout → Add a Gadget → HTML/JavaScript, in the footer area, because trust badges are read at the moment of hesitation, which is usually the footer.
Goes in Layout → Add a Gadget → HTML/JavaScript, in the sidebar, because a live pill is only useful if it's visible before the visitor decides to leave.
Goes in Layout → Add a Gadget → HTML/JavaScript, in the sidebar, because the whole point is catching someone while you're actually live.
Goes in the post editor, switched to HTML view, because it's social proof for a specific project, so it goes inline next to what it's vouching for.
Goes in the post editor, switched to HTML view, because it belongs beside the install command, in the post or docs page that teaches it.
Goes in Layout → Add a Gadget → HTML/JavaScript, in the sidebar, because a live member count is a standing invitation, so it should follow the reader down every page.
Goes in Layout → Add a Gadget → HTML/JavaScript, in the footer area, because it's a floating bubble, so it only needs to exist once per page and should load last.
Goes in Theme → Edit HTML, before </head>, because one paste in the head gives every page its own score — the badge auto-detects which page it's on.
Goes in Layout → Add a Gadget → HTML/JavaScript, in the footer area, because a ranked country list belongs at the bottom, where its lazy-loaded flags stay below the fold.
Goes in the post editor, switched to HTML view, because a live count only changes behaviour when it sits in the same line of sight as the price or the button.
If you want a widget inside one post, switch the post editor from Compose view to HTML view before pasting. Compose view treats the snippet as text and shows the code instead of the widget. After pasting, stay in HTML view for that section; flipping back to Compose can rewrite your markup.
Blogger is still home to many personal, hobby and niche blogs. The hit counter and flag counter fit the classic blog sidebar, the visitor globe shows off an international readership, the comments widget offers an alternative to Blogger's built-in comments, and the YouTube live widget suits bloggers who also stream.
Blogger's mobile templates can hide sidebar gadgets on phones. If a widget shows on desktop but not on your phone, check your theme's mobile settings, or move the gadget to an area that appears on both, such as below the posts.
The Layout screen shows the gadget areas your theme supports, such as Sidebar, Footer and sometimes areas above or between posts. Which ones exist depends on the theme, so if you don't see a footer area, use the area below Blog Posts or switch to a theme with more gadget areas. Drag gadgets to reorder them, then save the arrangement.
Open Layout, click the gadget, and choose Remove. Nothing else on your blog depends on it.
Blogger is free, and every method here works on every blog, on blogspot.com or a custom domain. The HTML/JavaScript gadget is the safest place for most widgets, because gadgets survive theme changes. Editing the theme's HTML also works, but it's parsed as XML, so a snippet with stray characters can stop the theme from saving.