# Open source analytics: who needs it, and when hosted is the better fit

Updated 2026-11-23

Open source analytics is web analytics whose code is published under an open licence, so you can read it, change it and usually run it on your own server. CrispStats is not open source and cannot be self-hosted: it is a hosted, closed source product, so if you need the code or your own server, pick an open source tool such as Umami, Plausible's Community Edition, Matomo or GoatCounter instead.

## Nothing to run or upgrade

No server, database, backups or version upgrades to look after. The collector runs on Cloudflare's edge network, and the realtime view runs on the same events.

More: [Realtime](/features/realtime)

## Revenue attribution included

Payments from Stripe, Paddle, Shopify, the App Store and other providers are credited to the source that brought the buyer, on every plan.

More: [Revenue attribution](/features/revenue-attribution)

## Site health in the same account

Web vitals, JavaScript errors and uptime monitoring sit next to traffic, so there is no second tool to host.

More: [Uptime](/features/uptime-monitoring)

## Your data out at any time

A REST API and CSV export on every plan, and a read-only MCP server for AI assistants, so the data is not locked in even though the code is closed.

More: [Ask AI](/features/ask-ai)

## What is open source analytics?

An open source analytics tool publishes its source code under a licence that lets anyone use, study, change and share it. Most also let you run the whole thing yourself, which is called self-hosting: the tracking script, the collector and the database live on servers you control. Many open source projects also sell a hosted cloud version, which pays for the development.

Open source and self-hosted are related, but not the same. A tool can be open source and used only through its vendor's cloud, and a closed tool can be offered for on-premise installation. Ask both questions separately.

## Who should pick open source analytics?

Open source is the right call when one of these is true for you:

When open source is the better fit

| If you need | Why open source fits | Can CrispStats do it? |
| --- | --- | --- |
| Data that never leaves your servers | Self-hosting keeps every event on infrastructure you control | No: hosted only |
| To audit exactly what is collected | You can read the tracking and storage code | Partly: the script's payload is visible in your browser, the server code is not public |
| No vendor that can change prices or shut down | You can keep running the code yourself | No |
| To change how the tool works | You can fork and modify it under its licence | No |
| Zero licence cost at high volume | Self-hosting has no per-event fee, only server costs | No: paid plans from $5 a month, after a 14-day free trial |
| A policy that requires open source software | Some public bodies and companies require it | No |

If any row in that table is a hard requirement, stop here and choose an open source tool. The comparison table on this page lists the licence and self-hosting option of four of them, read from each project's own site.

## Which open source analytics tools are there?

- **Umami.** MIT licence. Self-hosting is free, and Umami Cloud has a free Hobby tier. Covers web and product analytics.
- **Plausible Community Edition.** AGPL-3.0. A self-hosted edition of Plausible; it leaves out some features of the hosted product, such as funnels and revenue goals.
- **Matomo.** GPL-3.0. The closest in scope to Google Analytics; the On-Premise edition is free, and Matomo Cloud is paid. Uses cookies by default, which can be turned off.
- **GoatCounter.** A modified EUPL-1.2. A small, single-binary tool with SQLite or PostgreSQL, and a free hosted service for reasonable public use.
- **PostHog and OpenPanel.** Open source product analytics, MIT outside an enterprise directory and AGPL-3.0 respectively, with session replay and more. Heavier to run yourself, and the right pick if you need product analytics rather than web analytics.

For a longer list with prices, see the [Google Analytics alternatives](/alternatives/google-analytics-alternatives), and for two specific matchups, [CrispStats vs Umami](/vs/umami) and [CrispStats vs Plausible](/vs/plausible).

## What does self-hosting really cost?

The licence is free; running it is not. Before you choose self-hosting for the price alone, count the work that a hosted service does for you:

- **A server and a database** sized for your traffic, with room for spikes.
- **Upgrades and security patches** for the app, the database and the operating system.
- **Backups and restores**, tested, because analytics history cannot be recollected.
- **Monitoring**, so you notice when the collector is down before a week of data is missing.
- **Your time**, which is usually the largest cost for a small team.

For a team that already runs servers, that work is small and self-hosting is a good deal. For a team that does not, a hosted tool, open source or not, is usually cheaper once time is counted.

## Where does CrispStats fit?

It suits you if you are happy for a vendor to host your analytics and care more about the answers than about the code: traffic, revenue by source, funnels, web vitals, errors and uptime on one dashboard, from a cookieless script of about 2.2 KB gzipped. Every account starts with a 14-day free trial with every feature and no card, so you can judge it before paying.

> **No self-hosting.** CrispStats is closed source and hosted only. There is no self-hosted edition and no on-premise option. If that rules it out, it rules it out, and one of the tools above is the better choice.

If you maintain an open source project and a hosted tool is fine for it, paid plans are 50% off on request. See [pricing](/pricing).

## How the options compare

|  | CrispStats | Umami | Plausible | Matomo | GoatCounter |
| --- | --- | --- | --- | --- | --- |
| Hosting | hosted | both | both | both | both |
| Open source | No | Yes (MIT) | Yes (AGPL-3.0) | Yes (GPL-3.0) | Yes (EUPL-1.2 (modified)) |
| Free plan | No (14-day free trial, no card) | 100k events a month (Hobby: 1 site, 6 months of data, hard limit) | No (No free hosted plan; 30-day trial, and the self-hosted edition is free) | Self-hosted (On-Premise is free; Cloud has a free trial) | Free hosted service (For reasonable public use; millions of pageviews a day are ruled out) |
| Priced by | events | events | pageviews | events | pageviews |
| Lowest paid plan | $5 (Starter, 250k events) | $20 (Pro, 1M events, up to 20 sites) | $9 (Starter, 10k pageviews, 1 site) | $26 (Cloud, 50k hits a month (€22), excluding tax) | No paid plan (Donations through GitHub Sponsors) |
| At 10k a month | $5 (Starter) | $0 (Hobby: 1 site, 6 months of data) | $9 (Starter; Growth $14, Business $19) | $26 (Lowest Cloud tier is 50k hits (€22)) | $0 (Free hosted service; no numeric limit is published) |
| At 100k a month | $5 (Starter) | $0 (Hobby: 1 site, 6 months of data) | $19 (Starter; Growth $29, Business $39. Read from the pricing slider's plan data on the page) | $42 (Cloud, 100k hits (€38), read from the plan data on the pricing page) | $0 (Free hosted service; no numeric limit is published) |
| At 1M a month | $12 (Growth) | $20 (Pro) | $69 (Starter; Growth $104, Business $139. Read from the pricing slider's plan data on the page) | $204 (Cloud, 1M hits (€172), read from the plan data on the pricing page) | $0 (Free hosted service; no numeric limit is published, only that millions a day are too many) |
| Works without cookies | Yes (No cookies, no stored IP addresses) | Yes | Yes (No cookies, no persistent identifiers) | Optional (Cookies on by default, can be disabled) | Yes |
| Cookie consent needed in the EU | No cookies set (Nothing is stored on the device by default) | Not needed, says Umami | Not needed, says Plausible | Depends on setup (Narrow cookieless setup only) | Probably not needed, says GoatCounter |
| Revenue attribution | Yes (Stripe, Polar, Paddle, Dodo Payments, Creem, Whop, Razorpay, Freemius, Lemon Squeezy, Shopify, RevenueCat, Superwall, App Store, Shopify App Store) | Yes (Revenue and attribution reports on every plan; payment integrations such as Stripe and Paddle from Pro) | Business plan (Ecommerce revenue attribution; cloud only) | Partly (Ecommerce tracking of orders you send; no payment-provider webhooks) | Not verified |
| Funnels | Yes | Yes (Every plan) | Business plan (Cloud only, not in the self-hosted edition) | Yes (In Cloud; a paid plugin when self-hosted) | Not verified |
| Goals and custom events | Yes | Yes (Every plan) | Yes (Goals and custom events from Starter) | Yes (150 goals on Cloud Business) | Events only (Click events and custom events; no goals or conversion reports) |
| Custom event properties | Yes | Yes (Each stored property counts as one event) | Business plan | Yes (Custom dimensions, 30 on Cloud Business) | Not verified |
| Visitor profiles and journeys | Yes | Yes (User journey report on every plan) | Journeys only (Aggregate user journeys on Business; no individual visitor profiles) | Yes (Visitor profiles and transitions) | Not verified |
| Realtime globe or map | Yes (Live 3D globe) | Not verified | Not verified | Yes (Real-time visitor map) | Not verified |
| UTM campaign reports | Yes | Yes | Yes (With automatic channel grouping) | Yes (Campaign tracking) | Yes (Referring sites and campaigns) |
| AI traffic | Yes | Not verified | Assistant visits (An AI Assistants channel for human visits; AI crawler hits are not reported) | Yes (AI assistants as a channel, plus AI agent reports) | Not verified |
| AI chat over your data | Yes | Not verified | Not verified | Not verified | Not verified |
| MCP server | Yes | Pro and up (Read-only MCP server) | Not verified | Yes | Not verified |
| API | Yes (REST API on every plan) | Pro and up (Not on Hobby) | Business plan (Stats API, 600 requests an hour) | Yes (HTTP reporting and tracking APIs) | Yes (HTTP REST API) |
| Web vitals from real visits | Yes | Yes (LCP, INP, CLS, FCP and TTFB from real visits) | Not verified | Not verified | Not verified |
| JavaScript error tracking | Yes | Yes (JavaScript errors grouped into issues) | Not verified | Yes (Crash Analytics: in Cloud, Enterprise bundle when self-hosted) | Not verified |
| Uptime monitoring and status page | Yes | Not verified | Not verified | Not verified | Not verified |
| Session replay | No | Business plan (5,000 replays included) | No (Plausible says it is not a session replay tool) | Yes (Cloud allowance from 150 recordings a month; paid plugin when self-hosted) | Not verified |
| Heatmaps | No | Business plan | No | Yes (Cloud allowance from 1,500 heatmap pageviews a month) | Not verified |
| Feature flags | No | Not verified | Not verified | Not verified | Not verified |
| A/B testing | No | Not verified | Not verified | Yes (In Cloud; Enterprise bundle when self-hosted) | Not verified |
| Surveys | No | Not verified | Not verified | Not verified | Not verified |
| Data warehouse | No | Not verified | Not verified | Add-on (Data Warehouse Connector, paid extra on Cloud) | Not verified |
| Free plan | No (14-day free trial, no card) | 100k events a month (1 site, 6 months of data) | No (30-day trial, no card required) | Self-hosted (Cloud has a free trial) | Free hosted service (For reasonable public use) |
| Every feature on every plan | Yes | No (Features differ by plan) | No (Features differ by plan) | Not verified | Yes (One free service, no tiers) |
| Sites | 10 on Starter (Unlimited from Growth) | 1 on Hobby, 20 on Pro (Unlimited on Business) | 1, 3 or 10 (Starter, Growth, Business) | 30 on Cloud Business (Unlimited when self-hosted) | Not verified |
| Trial of paid plans | 14 days (No card required, every feature) | 14 days (On Pro and Business) | 30 days (No card required) | Yes (Cloud, no card needed; length not stated) | Not verified |
| If you go over the plan | Paid: keeps recording (Paid plans stay open at $1 per extra 100k; the trial pauses at 25k a month) | Billed per extra event (Collection continues on paid plans; Hobby has no overage) | Not verified | Pay per extra hits (€2.20 per extra 5,000 hits on the 50k tier) | Not verified |
| Open source | No | Yes (MIT) | Yes (AGPL-3.0) | Yes (GPL-3.0) | Yes (EUPL-1.2, modified) |
| Self-hosting | No (Hosted only) | Yes (Free; Cloud adds email reports and the streaming API) | Yes (Community Edition, without funnels or revenue) | Yes (Free On-Premise edition) | Yes (One binary with SQLite or PostgreSQL) |
| Works on any host | Yes | Not verified | Not verified | Not verified | Not verified |

Sources:

- CrispStats, checked 2026-11-23: [CrispStats pricing](https://crispstats.com/pricing), [CrispStats docs](https://docs.crispstats.com)
- Umami, checked 2026-11-23: [Pricing](https://umami.is/pricing), [Pricing in Markdown](https://umami.is/pricing.md), [llms.txt](https://umami.is/llms.txt), [MCP server](https://umami.is/mcp), [Docs: performance](https://umami.is/docs/performance), [Docs: error tracking](https://umami.is/docs/error-tracking), [GitHub repository](https://github.com/umami-software/umami)
- Plausible, checked 2026-11-23: [Home page, plans and pricing slider](https://plausible.io/), [When Plausible is not the right fit](https://plausible.io/when-not-to-use-plausible), [AI traffic analytics](https://plausible.io/track-ai-traffic), [Self-hosted web analytics](https://plausible.io/self-hosted-web-analytics), [Open source website analytics](https://plausible.io/open-source-website-analytics), [Real-time web analytics](https://plausible.io/real-time-web-analytics), [GitHub repository](https://github.com/plausible/analytics)
- Matomo, checked 2026-11-23: [Pricing](https://matomo.org/pricing/), [Features](https://matomo.org/features/), [FAQ: cookies](https://matomo.org/faq/general/faq_146/), [FAQ: tracking without consent](https://matomo.org/faq/new-to-piwik/how-do-i-use-matomo-analytics-without-consent-or-cookie-banner/), [GitHub repository](https://github.com/matomo-org/matomo), [Guide: MCP](https://matomo.org/guide/apis/mcp-model-context-protocol/), [FAQ: AI assistant traffic](https://matomo.org/faq/reports/how-to-track-and-analyse-traffic-from-ai-assistants-like-chatgpt-in-matomo-reports/), [Guide: Crash Analytics](https://matomo.org/guide/reports/crash-analytics/)
- GoatCounter, checked 2026-11-23: [Home page, features and pricing](https://www.goatcounter.com/), [Help: GDPR consent notices](https://www.goatcounter.com/help/gdpr), [Help: events](https://www.goatcounter.com/help/events), [GitHub repository](https://github.com/arp242/goatcounter), [Licence](https://github.com/arp242/goatcounter/blob/master/LICENSE), [Releases](https://github.com/arp242/goatcounter/releases)

## Frequently asked questions

### Is CrispStats open source?

No. CrispStats is a hosted, closed source product and cannot be self-hosted. The data stays yours: you can export it through the REST API or as CSV on every plan.

### What is the best open source alternative to Google Analytics?

Matomo is the closest in scope to Google Analytics. Umami and Plausible's Community Edition are simpler and cookieless. GoatCounter is the smallest. Pick by how much you need and how much server work you are willing to do.

### Is open source analytics more private?

Not by itself. Privacy depends on what a tool collects and where the data goes. Open source lets you verify those things in the code, and self-hosting keeps the data on your servers, but a self-hosted tool that sets cookies still needs consent.

### Is self-hosted analytics free?

The software usually is. You still pay for the server, the database and backups, and you spend time on upgrades and monitoring. For a small team without servers, a free hosted tier can cost less in practice.

## Related

- [Google Analytics alternatives](/alternatives/google-analytics-alternatives)
- [CrispStats vs Umami](/vs/umami)
- [CrispStats vs Plausible](/vs/plausible)
- [Free web analytics](/analytics/free-web-analytics)
