One snippet, pasted into your footer section — because a ranked country list belongs at the bottom, where its lazy-loaded flags stay below the fold. Shopify powers well over 4 million live stores, and almost none of those sites want another app just to render a small piece of live data. No app. Shopify renders raw HTML and script tags inside a Custom Liquid block, so there is nothing to install from the App Store.
The free flag counter, rebuilt for 2026. Every country that visits gets counted and ranked, with the flag, the country code and the visit total — and the flag sprites lazy-load below the fold, so the counter never becomes the reason your Lighthouse score drops. Bots are filtered server-side, so the totals are people rather than crawlers. Pick how many countries to show, how many columns, your background and header colour, then paste one snippet. Free forever, no signup, no email.
Shopify lets you customise an unpublished theme, and the editor looks identical either way. If you pasted the snippet, saved, and the live store shows nothing, you almost certainly edited a draft or the duplicate you made as a backup. Online Store → Themes shows which one is under Live — edit that one, or publish the one you edited.
Shopify's rich text editor for pages, articles and product descriptions strips script tags on save without warning you. The Custom Liquid block, the <> Show HTML view, and raw .liquid files in Edit code all pass markup through untouched. If your snippet disappeared the moment you saved, that is the reason.
Shopify does not allow third-party scripts on checkout — that is a platform restriction, not a widget limitation. Everything else is fair game: home, collection, product, cart, blog, pages and the 404. Put the widget in the footer and it covers all of them in one paste.
No app. Shopify renders raw HTML and script tags inside a Custom Liquid block, so there is nothing to install from the App Store. Installing an app for this would mean an extra dependency, an update cycle and a security surface to render one snippet. Paste it into your footer section and you're done.
Your footer section — because a ranked country list belongs at the bottom, where its lazy-loaded flags stay below the fold. Go to Online Store → Themes → Customize on your live theme. Scroll to the Footer in the left-hand section list and click Add block. Choose Custom Liquid, paste the snippet into the box, and leave everything else alone. Hit Save. It renders on every page of the store straight away.
No. The script tag is async, so it never blocks your page from rendering, and the widget draws itself after your content is already on screen. Shopify serves your storefront from its own CDN and that doesn't change — the snippet is a single async tag, so it loads alongside your theme instead of in front of it. Nothing needs excluding from Shopify's own minification.
Shogun: drag in the HTML/Liquid element and paste there. PageFly: use the HTML/Liquid element. GemPages: use the Liquid element. Shopify's own theme editor: add a Custom Liquid block. Any builder with a raw-HTML or code block will render it, because there's nothing framework-specific in the snippet.