7,380 open-source and SaaS tools, with GitHub stats refreshed every day.

Counterscale

Open source

Simple web analytics tracker and dashboard you deploy on Cloudflare Workers, designed to cost almost nothing to run even at high traffic.

counterscale.dev
Counterscale homepage screenshot
GitHub stars
2.2k
Last commit
21 days ago
Repository age
2 years
Version
v3.4.1
Licence
MIT
Self-hosted
Yes

About Counterscale

Counterscale is a web analytics tracker and dashboard that you host yourself on Cloudflare. It is meant to be easy to deploy and maintain and to cost close to nothing to operate, with the README noting that Cloudflare's free tier could hypothetically support up to 100,000 hits per day. It is released under the MIT license and sponsored by Modem.

It runs mainly on Cloudflare Workers and the Workers Analytics Engine. One limitation is that, as of February 2025, the Analytics Engine keeps data for a maximum of 90 days, so Counterscale can only show the last 90 days of recorded data; the project describes ways to work around this. Topics position it as an alternative to Google Analytics for website statistics.

A small JavaScript tracker is added to your site, and the dashboard shows traffic figures from your own Cloudflare account, so visitor data stays in your infrastructure. It suits developers, indie makers, and small sites that want privacy-friendly analytics without a database to maintain.

Key features

  • Web analytics tracker and dashboard
  • Self-hosted on Cloudflare Workers
  • Near-zero operating cost
  • Built on Workers Analytics Engine
  • Simple deployment and maintenance
  • Data stays in your Cloudflare account

Good fit for

  • →Lightweight analytics for a personal site
  • →Replacing Google Analytics with a Cloudflare deployment
Built with
TypeScript
Tags
web-analytics
cloudflare
cloudflare-workers
privacy
self-hosted
google-analytics-alternative
statistics
typescript

Counterscale: questions and answers

What is Counterscale used for?
Counterscale is a simple web analytics tracker and dashboard you deploy on Cloudflare Workers, designed to cost almost nothing to run even at high traffic. It is a good fit for lightweight analytics for a personal site and replacing Google Analytics with a Cloudflare deployment.
Is Counterscale open source?
Yes. Counterscale is open source under the MIT licence. Its source code is on GitHub at benvinegar/counterscale and is written mainly in TypeScript.
Is Counterscale free?
Yes. Counterscale is open source, so the software itself is free to use.
Can I self-host Counterscale?
Yes. Counterscale can be self-hosted on your own server or infrastructure; there is no official hosted version.
What is Counterscale an alternative to?
Counterscale is an open-source alternative to Google Analytics, Simple Analytics and Fathom Analytics. Other open-source alternatives to Google Analytics include Databuddy, Umami and Plausible.
Is Counterscale actively maintained?
Yes. The most recent commit to Counterscale was on 11 September 2026, and the latest release is v3.4.1, published on 15 December 2025. The project has 2.2k stars on GitHub.

Open-source alternatives to Counterscale

See all

SaaS alternatives to Counterscale

See all