Skip to content

Self-hosted alternatives to GoatCounter

GoatCounter is an open source web analytics service offered as a donation-supported hosted service and as self-hosted software. Four listed apps do its main job and run in your own Cloudflare account.

Each answer comes from the app’s README and source code, compared with the features GoatCounter describes on its own site.

  • InsightFlare site overview with views, visitors, sessions, bounce rate, a 30-day trend and top pages and sources

    Cookie-free web analytics with funnels, UTM reports and real-time visitors, hosted in your own Cloudflare account

    Deploy
    One-click
    License
    MIT
    GitHub stars
    539 stars
    Last commit
  • Traks site dashboard with visitors, pageviews, bounce rate, a 30-day visitor chart and top pages

    Cookie-free website analytics with live visitors and history in R2, installed into your account by a web wizard

    Deploy
    One-click
    License
    MIT
    GitHub stars
    161 stars
    Last commit
  • Edgemetry demo overview with visitor metrics, a 30-day chart, top pages, referrers and custom events

    Cookie-free web analytics for your own sites, built on one Worker and one D1 database sized for the free tier

    Deploy
    One-click
    License
    MIT
    GitHub stars
    64 stars
    Last commit
  • Counterscale dashboard for one site over 90 days, with visitors, views, bounce rate, top paths and referrers

    Cookie-free web analytics you host in your own Cloudflare account, with tracker and dashboard in one Worker

    Deploy
    CLI
    License
    MIT
    GitHub stars
    2.2k stars
    Last commit

GoatCounter features, app by app

FeatureInsightFlareTraksEdgemetryCounterscale
Counts visits without cookies or IDsYesYesYesYes
Lightweight script of about 3.5 KBYesPartlyYesPartly
Browser, screen, location, referrer statsYesYesYesPartly
Campaign trackingYesYesYesYes
Custom eventsYesYesPartlyNo
Tracking without JavaScriptNoPartlyNoPartly
CSV and JSON exportYesNoNoPartly
JSON APIYesYesPartlyNo

Cookie-free web analytics with funnels, UTM reports and real-time visitors, hosted in your own Cloudflare account

What a GoatCounter user would miss
It has no pixel or log-file tracking; detailed data is kept for one year unless you add an R2 archive bucket.
What it adds
Data stays in your Cloudflare account, and it adds bot request observation.
  • Yes Counts visits without cookies or IDs. No cookies; about 3 KB script.
  • Yes Lightweight script of about 3.5 KB. About 3 KB gzipped.
  • Yes Browser, screen, location, referrer stats. Pages, referrers, UTM, geo, device, OS, screen size.
  • Yes Campaign tracking. Referrer, channel and UTM reports.
  • Yes Custom events. Custom events with JSON properties.
  • No Tracking without JavaScript. Script only.
  • Yes CSV and JSON export. CSV export of report tables.
  • Yes JSON API. API v1 with scoped keys and OpenAPI file.

Sources:github.com/RavelloH/InsightFlare/blob/main/.github/readme/README.en.md

Cookie-free website analytics with live visitors and history in R2, installed into your account by a web wizard

What a GoatCounter user would miss
It has no data export; it covers script size information and pixel or log-file tracking only in part; it needs Workers Paid and uses Pipelines and R2 SQL, which its README calls open beta.
What it adds
Data stays in your Cloudflare account, and history is kept in R2.
  • Yes Counts visits without cookies or IDs. No cookies; one t.js tag.
  • Partly Lightweight script of about 3.5 KB. One t.js tag; size not stated.
  • Yes Browser, screen, location, referrer stats. Pages, sources, UTM, locations, devices.
  • Yes Campaign tracking. Referrers, UTM fields and an AI sources tab.
  • Yes Custom events. Events with properties and a value.
  • Partly Tracking without JavaScript. HTTP event endpoint; no pixel or logs.
  • No CSV and JSON export. No CSV export found.
  • Yes JSON API. API tokens with read or manage scope.

Sources:github.com/shivamanupadi/traks#readme

Cookie-free web analytics for your own sites, built on one Worker and one D1 database sized for the free tier

What a GoatCounter user would miss
It has no pixel or log-file tracking or data export; it covers custom events and stats API only in part; its README puts the Workers Free ceiling near 20,000 visits a day.
What it adds
Data stays in your Cloudflare account, and daily rollups are never deleted.
  • Yes Counts visits without cookies or IDs. No cookies or visitor ID; about 2.1 KB script.
  • Yes Lightweight script of about 3.5 KB. About 2.1 KB.
  • Yes Browser, screen, location, referrer stats. Pages, referrers, UTM, country, browser, OS, device.
  • Yes Campaign tracking. Referrer and UTM breakdowns.
  • Partly Custom events. Named events; no properties.
  • No Tracking without JavaScript. Script only.
  • No CSV and JSON export. CSV export is on the roadmap.
  • Partly JSON API. JSON endpoints need a login; no keys.

Sources:github.com/hayaran/Edgemetry#readme

Cookie-free web analytics you host in your own Cloudflare account, with tracker and dashboard in one Worker

What a GoatCounter user would miss
It has no custom events or stats API; it covers script size information and all breakdowns only in part; the dashboard shows only the last 90 days that Analytics Engine keeps.
What it adds
Data stays in your Cloudflare account, and history is copied to R2.
  • Yes Counts visits without cookies or IDs. No cookies or fingerprinting; one script tag.
  • Partly Lightweight script of about 3.5 KB. One script; size not stated.
  • Partly Browser, screen, location, referrer stats. No entry or exit pages, OS or screen size.
  • Yes Campaign tracking. Referrer table and five UTM tables.
  • No Custom events. Pageviews only.
  • Partly Tracking without JavaScript. Server-side module; no pixel or logs.
  • Partly CSV and JSON export. R2 Arrow rollups; no CSV export.
  • No JSON API. No public API.

Sources:github.com/benvinegar/counterscale#readme