Counterscale

Track website visits with a dashboard you host yourself

By Ben Vinegar

InstallOpens in your own Appflare
Stars
2.1k
2,158 stars on the app's GitHub repository.
Installs
Under 10
Fewer than 10 Appflare users run this app, from anonymous usage data; smaller counts are not published.
Plan
Free
Runs on Cloudflare's free Workers plan.
License
MIT
An open-source license: you may use, change and share the app on its terms.
Version
3.4.1
Version 3.4.1.
Last tested
Oct 14
The catalog installed this version in a test account and it answered, on Oct 14, 2026.

About

A self-hosted alternative to Google Analytics or Plausible.

Privacy-friendly web analytics you host yourself: a tracking script, a dashboard, and long-term rollups in R2, on Workers Analytics Engine.

Features

  • See pageviews and referrers in your own analytics dashboard
  • Track multiple websites with a separate identifier for each
  • Measure traffic without cookies or browser fingerprinting
  • Keep daily traffic archives beyond the dashboard's 90-day history
  • Protect your analytics dashboard with a password

Deploy Counterscale on Cloudflare

  1. Step 1: Set up Appflare in your Cloudflare account

    Once

    Appflare installs itself into your own Cloudflare account from your browser, and runs on the free Workers plan, as Counterscale does. See what Counterscale needs on your account.

  2. Step 2: Install Counterscale

    The install form asks you for:

    • Analytics API token

    Appflare generates two values for you: Dashboard password and Session signing key.

    It also has an optional setting you can leave for later.

    One switch on the form puts Counterscale behind Cloudflare Access, so only the people who use your Appflare can open it.

  3. Step 3: Finish setting it up

    After the install, Appflare shows three short steps for Counterscale, on its page.

With Appflare instead of by hand

  • Nothing to build on your computerAppflare sets itself up from your browser, with no API token to create and nothing to install.
  • Updates in one clickAppflare tells you when the catalog has a new version, and Update installs it.
  • Health checksAfter every install and update, Appflare checks that the app answers.
  • It stays in your own accountEverything runs on your Cloudflare account and your plan, and Appflare records what it creates, so an uninstall removes it.

What it needs on your account

  • R2 storageThis app needs it
  • Analytics EngineThis app uses it
  • Runs on a scheduleThis app uses it

Questions

Does Counterscale run on Cloudflare's free plan?

Yes. Counterscale runs on Cloudflare's free Workers plan, and so does Appflare.

What does Counterscale create in my Cloudflare account?

Appflare creates a Worker for Counterscale and the resources it uses: R2 buckets and cron triggers. It also uses Analytics Engine. Appflare records each resource it creates; an uninstall deletes them, keeping any data you choose to keep.

How do I update Counterscale?

When the catalog has a new version, Counterscale's page in Appflare says Update available. Select Update: Appflare takes a snapshot first, so you can roll back to the version before. You can also let Appflare update it automatically.

Is Counterscale open source?

Yes, under MIT. An open-source license: you may use, change and share the app on its terms. Its source code is at github.com/benvinegar/counterscale.

Links

Packaged for the catalog by MendyLanda.

Author

Categories