Free tool
View counter badge
Show how many people read a page, on a portfolio, a blog post or a docs page. A small tag counts each visit (no cookies, bots skipped) and a badge shows the total. The badge refreshes every few minutes. Where no script can run, like a GitHub profile README or a last.fm profile, the badge can count its own loads instead.
Preview (demo: b59.link's own count)
HTML: counts the visit and shows the badge
<script>(function(){var i=new Image();i.referrerPolicy="no-referrer-when-downgrade";i.src="https://b59.link/tag?id=09f2e391-6eb5-4b9c-ab92-86cd4cd65adb&u="+encodeURIComponent(location.href)+"&r="+encodeURIComponent(document.referrer);})();</script>
<img src="https://b59.link/badge.svg?id=09f2e391-6eb5-4b9c-ab92-86cd4cd65adb" alt="views" height="20">Markdown: badge only (docs). Count visits with the tag on your site, or tick the box above for a README.

Using React, Next.js, Astro, Hugo or Jekyll? Ready-made snippets are on GitHub: icedsg/b59-view-counter-badge (MIT).
Good to know
- Only public trackers show a number; a private one shows "private". The badge never shows visitors, places or referrers.
- The count is cached for five minutes, so a fresh visit appears on the badge a little later, not instantly.
- Visits are counted on the tracker's own domain. Full stats (pages, referrers, devices) stay on your tracker page.
- With "count each time the badge loads", the badge address ends in
&count=1and is sent uncached, so GitHub's image proxy asks for it on every view and the number is fresh. GitHub hides who is looking, so these views have no referrer or place, and the same viewer counts at most once a minute. That badge counts on any page, not only your tracker's domain. Add a path (e.g. /readme) to keep those views apart from your site's. - The tracker skips known bots and browsers sending Do Not Track.
Use it from an assistant or a script
Creates a page-view tracker for a site and gives back the tag or badge to paste, plus a stats page with views, visitors, pages and referrers.
curl -X POST https://b59.link/api/trackers -H "Content-Type: application/json" -d '{"site_url": "example.com"}'- MCP tool
create_tracker, then get_stats_urlonhttps://b59.link/api/mcp- Limit
- 2 requests a minute without a key; 300 a minute with a free session key (auth tool, or POST /api/auth/session). Views are counted only on the domain you give and its subdomains.
- Docs
- b59.link/api-docs