Live Viewers Counter
What is the Live Viewers Counter?
The Live Viewers Counter displays the number of people currently viewing a product page in real-time. It creates urgency by showing social proof like "12 people are viewing this now" directly on your product pages.
This feature helps convert browsers into buyers by demonstrating genuine interest in your products. When shoppers see others viewing the same item, it validates their interest and motivates faster purchasing decisions.
How Visitor Tracking Works
The Live Viewers Counter uses a heartbeat system to accurately track active visitors. Here's how it works:
- Heartbeat signals — When a visitor lands on a product page, their browser sends periodic signals to our servers. These heartbeats continue as long as the visitor stays on the page.
- 5-minute activity window — A visitor is counted as "active" if they've sent a heartbeat within the last 5 minutes. This ensures the count reflects people genuinely viewing the page, not visitors who left hours ago.
- Anonymous tracking — Each visitor is assigned a temporary session ID. We don't collect personal information—just enough to count unique viewers accurately.
- Automatic cleanup — Old session data is automatically removed, so your viewer counts always reflect current activity.
Real-Time Updates
The viewer count refreshes automatically every 25 seconds without requiring a page reload. This keeps the displayed number current as visitors arrive and leave.
The refresh happens silently in the background, so shoppers won't notice any disruption while browsing.
Display Settings
The Live Viewers Counter includes several customization options:
Text Customization
- Singular noun — The word used when one person is viewing (default: "person")
- Plural noun — The word used when multiple people are viewing (default: "people")
For example, you could change these to "shopper/shoppers" or "customer/customers" to match your brand voice.
Icon Styling
- Icon color — Choose a color that matches your store's branding
- Corner radius — Adjust from square (0px) to fully rounded (40px)
Minimum Threshold Behavior
When no one is viewing a product (zero viewers), the counter automatically hides. This prevents showing "0 people are viewing this now" which could have the opposite effect of what you want.
The counter only appears when at least one person is actively viewing the product.
Adding to Product Pages
To add the Live Viewers Counter to your product pages:
- From your Shopify admin, go to Online Store > Themes
- Click Customize on your active theme
- Navigate to a product page template
- Click Add block in the section where you want the counter to appear
- Select USP Inline Live Views from the app blocks
- Adjust the settings to match your preferences
- Click Save
The counter works best when placed near the Add to Cart button, where it can influence purchasing decisions most effectively.
Frequently Asked Questions
Is the viewer count accurate?
Yes. The count reflects actual visitors who have been active on the page within the last 5 minutes. The heartbeat system ensures we're tracking real engagement, not inflated numbers.
Does this slow down my site?
No. The heartbeat system uses lightweight requests that don't impact page load times. The 25-second refresh interval is optimized to balance accuracy with performance.
Can I show this on collection pages?
The Live Viewers Counter is designed specifically for product pages, where it tracks viewers on that particular product. For collection pages, consider using other social proof elements.
What happens with high traffic?
The system is built to handle traffic spikes. Whether you have 10 or 10,000 concurrent visitors, the counter will display accurate numbers.