Using Tarsier
Live stats pill
A small “3 people here right now · live stats” link. It hides when nobody is here, and it never invents a count.
On the homepage
Tarsier's own site shows the pill under the hero buttons. It counts people on the ptmetrics site in the last minute and opens that dashboard. That dashboard is public. Every other site still requires a sign-in.
Add it to your site
Paste this where you want the pill. Use your real site ID. The script does not install the tracker and does not send pageviews.
<script
src="https://ptmetrics.presstitan.workers.dev/live-pill.js"
data-site-id="your-site-id"
defer
></script>It polls GET /api/online?site=your-site-id every 30 seconds while the tab is visible. A good response is only { "online": 3 }. Unknown sites return 404. A real zero renders nothing.
What it does not show
The public count is a number. Paths, browsers, and the live feed stay in the signed-in dashboard. Clicking the pill opens the dashboard for that site.