How to add a live visitor counter to Shopify (free, no app required)
The 3-step method to install a real-time visitor widget on any Shopify store. Works on Online Store 2.0, no app fees, no theme rebuild. Boosts conversions with social proof.
Why every Shopify store needs a live visitor counter
Conversion psychology research from Baymard and Nielsen Norman has confirmed it for years: scarcity + social proof signals lift add-to-cart rates by 8-23%. The most effective signal isn't a fake "47 people viewing" widget — it's a real-time visitor feed that visitors can verify is genuine.
Shopify's app store has plenty of paid options ($9-49/month). Almost all of them do exactly what FeedPulse does for free. This guide walks through three install methods, picks the right one for your theme, and shows the exact placement that converts best.
Method 1 — Custom HTML section (Online Store 2.0 themes)
This is the recommended path. Works on Dawn, Sense, Craft, Refresh, Studio and most modern themes.
- Open the FeedPulse generator, paste your Shopify store domain (e.g.
yourstore.myshopify.comor your custom domain), and pick Live Traffic Feed. - Customize colors to match your brand — most stores look best with the Klein-blue default or a near-black header.
- Copy the snippet.
- In Shopify Admin → Online Store → Themes → Customize.
- Pick the page where you want the widget (homepage is highest impact; product pages convert best). Click Add section → Custom Liquid.
- Paste the snippet. Save.
The widget will start streaming country flags + browser icons within seconds of your next real visitor landing on the page.
Method 2 — Theme code edit (for older themes / global placement)
If you want the widget to appear sitewide:
- Shopify Admin → Online Store → Themes → Actions → Edit code.
- Open
layout/theme.liquid. - Paste the FeedPulse snippet just before
</body>(last line of the file). - Save.
This places the widget on every page including cart, checkout (where allowed), and collection pages. Warning: don't add it to actual checkout pages — Shopify's checkout has strict CSP rules and external scripts may not load. The footer placement avoids this naturally.
Method 3 — Page-builder apps (PageFly, Shogun, GemPages)
If you use a page builder, drop in an HTML block and paste the snippet. The page builder will preview it inline. PageFly and Shogun both handle this cleanly; GemPages requires saving the page and refreshing the storefront preview.
Where to place the widget for max conversion lift
Based on A/B tests our users have reported back:
- Homepage hero, just below the headline: +6-12% click-through to product pages
- Product page, just below "Add to cart": +8-15% add-to-cart rate (the strongest spot)
- Cart page, near the checkout button: +4-7% checkout completion
- Above the fold on collection pages: +3-5% time-on-page
For most stores, start with the product page — that's where intent peaks and a small nudge moves the most revenue.
Sizing it correctly for Shopify themes
Most Shopify sections have a max-width around 1200px with internal padding. The 320px FeedPulse default fits well in a sidebar but looks cramped in a hero. Pass ?w=480 in the snippet to widen it:
<script src="https://feed-pulse.com/api/embed/traffic-feed.js?site_id=YOUR_ID&w=480" async></script>Or use a wrapping div:
<div style="max-width:480px;margin:0 auto;">
<script src="https://feed-pulse.com/api/embed/traffic-feed.js?site_id=YOUR_ID" async></script>
</div>Common Shopify-specific gotchas
- App blocks vs sections: if your theme uses app blocks, you must add the widget via the theme customizer (Method 1), not through theme code edits.
- Shopify CSP: by default Shopify allows external scripts on most pages. If you've installed a Content Security Policy app, add
feed-pulse.comto the allowed sources. - AMP storefront: AMP pages don't allow custom scripts. The widget won't load on AMP versions. Disable AMP for pages that have the widget, or use a non-AMP storefront.
- Currency switchers: some currency switcher apps trigger full-page reloads. The widget will simply reload along with them — no data loss because tracking is server-side.
What you get on Shopify with FeedPulse
- 100% free, unlimited orders, unlimited visits, unlimited countries
- Live country flags so visitors see global demand in real time (huge for niche stores selling internationally)
- Anonymous tracking — no cookies, no PII, no GDPR cookie banner additions
- Bot filter removes traffic-exchange noise so your real conversion rate stays trustworthy
- Public stats page (
feed-pulse.com/site/yourstore.myshopify.com) — a free indexable SEO landing page that adds backlink equity to your store
The only "cost" is the tiny FeedPulse badge that stays in the widget — that's how we keep the service free for everyone.