Privacy-first hit counter for your static site. Live number, SVG badge, or both. No cookies, no tracking.
fyra addons:create counter --app=your-app<img> tag for a simple badgefyra push — your counter starts counting from the first visitorA simple, privacy-first hit counter for static sites. It counts page visits — nothing more. No cookies, no fingerprinting, no personal data. GDPR-friendly by design. Choose between a live JavaScript counter that updates on every page load, a clean Shields.io-style SVG badge, or use both.
The counter is provisioned through the Fyra CLI and tied to your app. No separate account or API key needed — it inherits your app's authentication. Origin protection ensures only your registered domain can increment the count, so nobody can inflate your numbers from elsewhere.
data-counter.
The script finds any element on your page with a matching data-counter attribute
and replaces its content with the current visit count. Place the <span>
wherever you want the number to appear — the dash is shown while the script loads.
The badge displays a static Shields.io-style image with your visit count. If you use the badge alone (without the JS embed), make sure the JS script is also loaded on your page — it handles sending the increment request. Without it, the badge will display the count but won't increment on new visits.