
Amplitude
Product analytics platform for tracking user behavior and generating data-driven insights
Discover top open-source software, updated regularly with real-world adoption signals.

Self-hosted web analytics on Cloudflare's edge network
Deploy privacy-focused web analytics on Cloudflare Workers with near-zero operating costs. Track up to 100k daily hits on the free tier with a simple dashboard.

Counterscale is a self-hosted web analytics solution built specifically for Cloudflare's edge infrastructure. Designed for developers and site owners who want simple, cost-effective traffic insights without third-party data sharing, it leverages Cloudflare Workers and Analytics Engine to deliver real-time metrics at minimal expense.
Ideal for individual developers, small businesses, and teams already using Cloudflare who need straightforward pageview tracking without the complexity or cost of enterprise analytics platforms. The free tier supports up to 100,000 hits per day, making it accessible for most small-to-medium traffic sites.
Deployment takes minutes via the included CLI installer. After authenticating with Cloudflare, the tool provisions a Worker, configures Analytics Engine, and optionally sets password protection for your dashboard. Integration is flexible: embed the tracker via CDN script tag or install the npm package for programmatic control, including manual pageview tracking for single-page applications.
Important constraint: Cloudflare Workers Analytics Engine currently retains data for a maximum of 90 days, so historical analysis beyond that window is not possible.
When teams consider Counterscale, these hosted platforms usually appear on the same shortlist.
Looking for a hosted option? These are the services engineering teams benchmark against before choosing open source.
Personal Blog Traffic Monitoring
Track daily readership and referral sources without monthly SaaS fees or third-party cookies.
SaaS Landing Page Analytics
Monitor marketing campaign performance and visitor geography while keeping data in-house on Cloudflare's edge.
Documentation Site Insights
Understand which docs pages receive the most traffic to prioritize content updates and improvements.
Portfolio or Agency Site Tracking
Demonstrate site engagement to clients with a self-hosted dashboard that requires no ongoing subscription.
Yes. The free tier can hypothetically support up to 100,000 hits per day, making it cost-effective for most small-to-medium traffic sites.
Counterscale relies on Cloudflare Workers Analytics Engine, which currently enforces a maximum 90-day retention policy as of February 2025.
The CLI installer requires macOS or Linux. Windows users may be able to use WSL (Windows Subsystem for Linux), though this is not officially documented.
During installation, choose 'Yes' when prompted to enable password protection. You can also manage authentication later using the 'npx @counterscale/cli auth' commands.
Yes. Initialize the tracker with 'autoTrackPageviews: false' and manually call 'Counterscale.trackPageview()' on route changes or navigation events.
Project at a glance
ActiveLast synced 4 days ago