Blogger · free forever · no signup

Add a free visitor globe widget to Blogger

This guide shows how to add a Blogger live visitor map in about a minute, with no third-party gadget: you paste one snippet into 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. 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.

What this Blogger live visitor map shows

The visitor globe shows where your recent visitors are on an animated globe or flat world map. It's the most visual widget in the set, and it suits sites with an international audience, such as travel blogs, online courses, open-source projects and remote-first companies. Locations come from visitors' IP addresses and are shown at country level, never as an exact address.

How to add a visitor globe widget to Blogger

  1. 1Open the post or page and switch the editor from Compose to HTML using the pencil/HTML toggle at the top left.
  2. 2Paste the snippet exactly where you want the widget to appear in the markup.
  3. 3Switch back to Compose only if you must — Blogger can rewrite markup when it converts views.
  4. 4Publish or Update, then open the live post.
Editing the theme XML instead? Pasting into Compose view escapes the code and you'll see the raw snippet as text on your page. HTML view is the only safe place to paste.

Where it works best on a Blogger site

On Blogger, the right spot is the post editor, switched to HTML view. Because it's eye-catching, it earns a place in the content: an About page, a 'our community' section or the bottom of the home page. Give it enough room to read on a phone, and don't stack it next to other moving elements.

Blogger plan and editor requirements

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.

Three things that trip people up on Blogger

The theme editor is XML, so raw code can break the save

Blogger themes are parsed as XML, so characters like &, <, > and quotes inside a script can trigger errors such as "The reference to entity must end with the ';' delimiter" and refuse to save. Our snippet is a plain async script tag with no bare ampersands, so it pastes cleanly — but if you ever hit that error, wrap the code in //<![CDATA[ ... //]]> or encode the five reserved characters. This is the main reason to prefer a gadget over a theme edit.

Compose view will eat your snippet

The post editor has two modes. Compose escapes anything that looks like markup, so the snippet renders as visible text instead of a widget. Switch to HTML view before pasting, and avoid flipping back to Compose afterwards — Blogger sometimes rewrites the markup when it converts between the two.

Theme edits vanish, gadgets don't

Changing theme, restoring a backup or applying one of Blogger's own themes replaces the whole template, taking any code you pasted into it with it. Gadgets live in your layout settings instead, so they survive. Unless you specifically need the <head> position, use a gadget.

Honest limits

If most of your visitors come from one city, the globe will show one cluster, which says little. IP location also isn't perfect, so the odd visitor can appear in the wrong country.

What you get, and what it costs

  • Free forever — there is no paid tier, no trial and no card
  • No signup for the badge-style widgets; the live ones create a site ID inline from your URL
  • Async script — it never blocks your page from rendering
  • Works on every Blogger theme, on blogspot.com and custom domains, in gadgets and in the post editor's HTML view
  • Bots filtered server-side on every visitor-counting widget

Blogger questions

Do I need a gadget to add a visitor globe widget to Blogger?

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. Installing a gadget for this would mean another dependency and update cycle just to show one widget.

Where exactly does the snippet go on Blogger?

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.

Will it slow my Blogger site down?

It adds one small script, loaded asynchronously, so it doesn't block your page from rendering. Any third-party script has some cost, so check your page speed before and after adding it. Blogger is served by Google's own infrastructure and the snippet is one async tag, so it loads after your post is already on screen. There's no cache to purge — saving a gadget publishes it immediately.

Does it work with page builders like Layout editor?

Layout editor: Add a Gadget → HTML/JavaScript. Theme editor: Edit HTML, paste above </head> or </body>. Post editor: switch to HTML view, then paste. Blogger mobile app: not supported — use the desktop dashboard. Any builder with a raw-HTML or code block will render it.

Does the visitor globe show exact locations?

No. Locations are approximate, based on IP address, and shown at country level. No exact address or personal data is displayed.