Scalable web analytics you can actually run yourself

Understand your web traffic with a complete analytics platform you self-host on Cloudflare's Developer Cloud.

Browse the demo
Counterscale logo - illustration of an antique balance scale

Open source licensed

Counterscale is self-hosted and MIT-licensed open source software. The code's free – you bring your own Cloudflare account.

Simple to deploy and maintain

Get up and running in just 5 minutes using our CLI installer. Once it's live you may never have to touch it again.

Stupidly affordable to run

Records up to 50k pageviews/day on Cloudflare's free Workers plan. Need more? Scales up to millions for pennies.

Built for end-user privacy

No cookies, no browser fingerprinting, and you control your data end-to-end. Data is retained for only 90 days.

Arrow iconArrow iconArrow icon

Web analytics essentials

Get live stats on pageviews, referrers, user engagement, and more - all without cookies, browser fingerprinting, or handing data to someone else.

demo.counterscale.dev/dashboard
Counterscale analytics dashboard showing real-time pageview data, top pages, referrers, and visitor analytics in a clean, modern interface - Click to view live demo

Up and running in 5 minutes

Less time than filling out a 'how did you hear about us?' form.

1
Cloudflare-inspired icon of a cloud with a lightning bolt

Sign up for Cloudflare

Create a free Cloudflare account to power your web analytics infrastructure.

2
Icon of a terminal console window

Deploy with our CLI wizard

Run one command and follow the prompts to deploy the Counterscale server.

3
Icon of a code editor window with a code snippet

Install the reporting script

Add our lightweight JavaScript reporter to your site – and you're done!

Purpose-built for operational sanity

No containers to manage, databases to resize, or clusters to scale. Built for Cloudflare's serverless platform, Counterscale stays online without handholding.

> npx @counterscale/cli@latest install
   ______                  __                            __
  / ____/___  __  ______  / /____  ___________________ _/ /__
 / /   / __ \/ / / / __ \/ __/ _ \/ ___/ ___/ ___/ __ `/ / _ \
/ /___/ /_/ / /_/ / / / / /_/  __/ /  (__  ) /__/ /_/ / /  __/
\____/\____/\__,_/_/ /_/\__/\___/_/  /____/\___/\__,_/_/\___/
https://counterscale.dev 3.1.0
install
Authenticated with Cloudflare using Account ID ending in: e4be1c
Do you want to deploy version 3.1.0 now?
Yes / ○ No

“Counterscale overcame my hesitation to deploy an analytics server.”

Brian Schiller, Software Engineer and Blogger

“After the initial setup, I've not had to spend a single minute maintaining it.”

Jeremy Morrell, Principal Engineer and Blogger

Arrow iconArrow iconArrow icon

Actually run your own analytics stack

Understand and control your web analytics data end-to-end with Counterscale.