Most "people viewing this product" lines on Shopify stores are random: a theme snippet or app picks a number between a minimum and a maximum, and nothing counts anybody. A real count is possible, but it needs a server that hears from every open page and adds them up. You can tell which one your store has with two browser windows and a minute of watching, and if it turns out to be random, you can replace it with a real count that stays hidden when the page is quiet.
How random counters work
The usual version is a few lines in a theme section or an app setting with two fields: minimum viewers and maximum viewers. When the page loads, the script picks a number in that range and prints it. Some versions add touches to make it feel alive:
- Drift. The number moves up or down by one or two every few seconds.
- Stickiness. The number is saved in your browser, so a reload shows the same figure.
- Seeding. The number is worked out from the product, so every visitor sees the same figure for that product.
None of these counts a visitor. They only make the random number harder to spot. When we scanned 200 small Shopify stores that use urgency apps, 5 of the 11 "people viewing" counters we found were generated in the browser, and only 2 came from live data. Our earlier post on why fake viewer counters are a liability covers the risk side.
How a real count works
A real counter has three parts:
- A heartbeat. While the page is open, the visitor's browser tells a server, every so often, "I am still here on this page".
- A window. The server counts the distinct visitors it heard from on that page within a recent period.
- A minimum. Below a threshold, the line stays hidden, so a quiet page does not say "1 person is viewing this".
That design has consequences you can see. A real count is often small. It is the same for everyone on the page at the same moment. It rises when more people arrive and falls a short while after they leave. At night, or on a product nobody is looking at, it disappears.
How to tell which one you have
Run these tests on one of your own product pages. Use private windows so the store treats each one as a new visitor.
| Test | Real count | Random count |
|---|---|---|
| Open the page in two private windows at once | Both show the same number | They usually differ |
| Open a third window | The number goes up by one in every window | Nothing changes, or it changes at random |
| Reload one window | The number stays put | Often a new number |
| Visit a product nobody looks at | Hidden, or a very small number | A number in the usual range |
| Close all windows but one | Drops back after a short while | No reaction |
A sticky or seeded counter can pass the first and third tests, because it shows the same figure everywhere. It fails the second: opening another window does not move it. That is the test that matters most, because it is the one that asks the counter to count.
You can also look at the code. In your theme editor, search the product template and snippets for words like "viewers" or "viewing". A script that uses something like Math.random with a min and max is the giveaway. If the counter comes from an app, check its settings for minimum and maximum fields.
If you would rather not do it by hand, paste the product page into the free checker. It loads the page as new visitors several times and reports whether the number came from a server or was made up in the browser.