TheWebstats gives you simple, instant website statistics — new vs returning visitors, live presence, traffic sources and more. No jargon. No complexity and free.
Every metric is explained in plain language. If your mum can read it, it's ready — plus a live chat widget so you can talk to visitors while they're still on the page.
Each visitor gets a permanent anonymous ID. See exactly how many people are discovering you for the first time versus loyal regulars who keep coming back.
Know who is actively on your page right now, who has gone idle, and who has lost their connection — updated every 30 seconds via heartbeat pings.
Understand whether visitors arrive from Google, social media, direct links, or paid campaigns — with full UTM parameter support built in.
See the split between mobile, tablet, and desktop visitors. Know which browsers and operating systems your audience actually use.
Don't just count page views — measure how long visitors are genuinely active. Idle time, hidden tabs, and offline periods are excluded automatically.
No personal data is ever collected. Visitor IDs are anonymous UUIDs stored in the browser. Do Not Track headers are fully respected.
Show off your traffic with a live hit counter badge. One line of code, three themes, three sizes — proof of popularity right on your page.
Paste a single script tag anywhere on the page. No plugins, no build step — your live chat widget is up in under a minute.
Auto shows online only while you're at the dashboard. Force Online keeps chat open 24/7. Force Offline switches every site to the contact form instantly.
Offline? Visitors get a "Chat with us on WhatsApp" button linked to your number — you never lose a lead outside business hours.
Visitors can attach screenshots, receipts and documents directly in the chat thread — no separate email required.
Register up to 5 websites, each with its own embed code, and manage every conversation from a single unified dashboard.
See country, city, IP, the exact page URL and a live screenshot preview with every chat — never guess who you're talking to.
You already know who's on your site. Now you can chat with them — live, in real time, with one line of code. WhatsApp handoff and file attachments included.
One script tag. That's it. No plugins, no servers to configure, no dashboards to learn.
Copy the analytics script into your HTML page, just before the closing </body> tag.
Update the siteId in the config to identify your website in the dashboard.
Every pageview, visitor ID, live status, and exit event starts posting to your endpoint automatically.
The entire analytics engine is a single self-contained JavaScript file. No npm, no build step, no dependencies.
<!-- Add before </body> --> <!-- Get YOUR_API_KEY for free from your dashboard after signing up --> <script src="https://www.thewebstats.com/js/wsx.js" data-site="YOUR_API_KEY" async> </script> // That's it — page views, sessions, presence & device data start // flowing in automatically. Optional public API for custom events, // callable from your own scripts once the tag above has loaded: visitorAnalytics.track( "signup_click" ); visitorAnalytics.getPresence(); visitorAnalytics.getVisitor();
The chat widget is a single embeddable script. Grab your unique key from Live Chat → Manage sites, paste it anywhere on the page, and the chat bubble appears instantly.
<!-- Add anywhere on the page --> <!-- Get YOUR_CHAT_KEY free from Live Chat → Manage sites --> <script src="https://www.thewebstats.com/chat_widget.js?key=YOUR_CHAT_KEY" async> </script> // That's it — the chat bubble appears bottom-right, // with WhatsApp handoff and attachments enabled by default. // Manage Auto / Force Online / Force Offline anytime // from the Live Chat dashboard — no code changes needed.
Want a live hit count badge visitors can actually see? Paste one div and one script tag — pick a theme and size, and it updates on every page load automatically.
<!-- Place anywhere on the page --> <div id="bv-counter"></div> <script src="https://www.thewebstats.com/tracker.php?api_key=YOUR_API_KEY&theme=dark&size=medium" ></script>
Small shops, agencies and startups on every continent, using analytics and live chat to actually talk to their visitors.
"I spent two years confused by Google Analytics. TheWebstats told me everything I needed to know in five minutes."
"Added live chat to three of our sites in five minutes. The WhatsApp handoff alone has saved us a dozen bookings we'd have missed overnight."
"The live presence feature is brilliant. I can see when a parent is reading our course fees page and follow up right then."
"Customers send us photos of sizing issues right in the chat now instead of a back-and-forth email chain. Returns dropped noticeably."
"I run live chat across every client site from one inbox. My clients think I hired a support team — it's just me and TheWebstats."
"Force Offline before every listing photoshoot means no half-answered chats. Auto mode picks it back up the second I'm at my desk."
"UTM tracking finally showed us which campaign was actually driving signups. We cut two ad channels that were doing nothing."
"The visitor counter badge on our homepage gets asked about constantly. Simple thing, but it makes us look established."
"Device breakdown told us over half our traffic was mobile and our checkout wasn't built for it. Fixed it, conversions went up."
"Seeing the visitor's page and location the moment they open chat means I never have to ask 'what are you looking at?' anymore."
"Finally I know the difference between new visitors and regulars. This changed how I think about our class schedule entirely."
"Donors ask questions live now instead of abandoning the donation page. Live chat has directly paid for itself many times over."
"That little live hit counter is oddly persuasive. Couples booking a wedding shoot see real numbers, not just a portfolio."
"We manage live chat for six client sites from one dashboard. Switching all of them offline for the weekend takes one click."
"Most of our buyers message us on WhatsApp anyway. The offline handoff button just meets them where they already are."
"Customers attach photos of their skin concerns right in the chat before ordering. Fewer wrong-product returns, happier customers."