TapCub is live — analytics, insights and live chat, free on one platform
Analytics

Benefits of open source analytics, and the costs that come with them

Open source analytics gives you inspection, data control and no per-event price, and hands you servers, patches and backups. Each benefit next to its hidden cost, with a break-even example and a decision rule.

Lucas Hayes Published Nov 23, 2026 11 min read Analytics
Sample data: at 20 million events a month self-hosting is cheaper ($880 vs $1,600), but at 2 million it is dearer ($520 vs $160); break-even is 8 million events.Sample data

The benefits of open source analytics are inspectable code, control over where data lives, no per-event price, customisation and the freedom to leave. Each one comes with a cost the licence does not remove: you run, secure and upgrade the software. In the sample here, self-hosting only beats hosting above about 8 million events a month.

What you will learn

  • Open source is a licence, not a service: free to obtain is not free to operate
  • Sample break-even: hosted $80 per million events vs self-hosted $480 fixed plus $20 per million gives 8 million events
  • Decide by requirement and owner first (audit, data location, a named person), price second

What "open source" promises and what it does not

The benefits of open source analytics are real, but each one comes with a cost that the licence does not remove: you can read and change the code, and you must run, secure and upgrade it yourself. "Open source" describes the licence on the code. It says nothing about who pays for servers, who is on call at 2 a.m., or who answers a data deletion request.

The Open Source Initiative's Open Source Definition (version 1.9) lists ten criteria a licence must meet: free redistribution, source code available, derived works allowed, integrity of the author's source code, no discrimination against persons or groups, no discrimination against fields of endeavour, distribution of the licence, a licence that is not specific to one product, a licence that does not restrict other software, and a technology-neutral licence. Notice what is not on the list: hosting, support, a free service or a free price for running it.

Two practical consequences follow before any benefit is counted:

  • Free to obtain is not free to operate. Source code costs nothing; a database that holds your events does.
  • Not every "open" licence meets the definition. A licence that limits who may use the software or for what purpose fails the "no discrimination against fields of endeavour" criterion, however public the source is. Read the licence before you count on the benefit.

For a comparison of the tools themselves, see open source analytics; for the business intelligence side, see open source BI. This page weighs the benefits against what they cost to keep.

The benefits, each with its hidden cost

BenefitWhat you actually getHidden costWhen it is worth it
You can inspect the codeVerify what is collected and where it is sentSomeone has to read and understand itYou face audits or strict security review
You control where data livesChoose the region and the providerYou operate the database, backups and access controlContracts or law require a specific place
No per-event priceCosts rise with your hardware, not your trafficFixed labour cost even at low volumeTraffic is high and steady
You can customiseAdd fields, change reports, connect internal systemsYou maintain a fork or plugin through every upgradeYou have a need no product covers
You can leaveYour data and your code stay with youMigrating still takes work, and old data needs a formatYou expect to change vendors
A community maintains itMany people find and fix problemsMaintenance is spread thin; a few people do most of itThe project is active and well funded

A note on the last row. Harvard Business School researchers estimated that the widely used open source packages would cost about $4.2 billion to rebuild once, and that companies would spend about $8.8 trillion to rewrite the software they use if it did not exist. The same work found that roughly 5% of programmers account for over 90% of the value created. Open source is valuable, and a small group carries much of the maintenance, so a quiet project is a risk you carry.

What it costs to run: a break-even example

Sample data: the prices below are invented to show the method. Replace them with your own quotes.

Assumptions for one month:

  • Hosted analytics: $80 per million events.
  • Self-hosted: 6 hours of engineer time at $75 per hour for upgrades, patches and monitoring = $450; $30 for backups; $20 of infrastructure per million events.
Events per monthHostedSelf-hostedCheaper
2 million$160$520Hosted
8 million$640$640Equal
20 million$1,600$880Self-hosted
50 million$4,000$1,480Self-hosted

The break-even is where 80x = 480 + 20x, which gives x = 8 million events a month. Below that, hosting is cheaper; above it, self-hosting wins on money. The result moves with your labour rate: at 12 hours a month instead of 6, labour doubles to $900 and the break-even becomes (900 + 30) ÷ 60 = 15.5 million events.

The example leaves out an incident. One bad weekend with the database full costs more than the monthly figure, and you cannot buy back the missing events. Treat the self-hosted line as a minimum.

app.tapcub.com

Monthly cost at 20 million events

sample assumptions, USD
Hosted$1,600
Self-hosted total$880
Infrastructure$400
Engineer time$450
Backups$30
Sample data
Sample data: at 20 million events a month self-hosting is cheaper ($880 vs $1,600), but at 2 million it is dearer ($520 vs $160); break-even is 8 million events.

Costs that do not appear on the invoice

Self-hosting shifts these tasks to you. Put an owner and a frequency next to each:

  • [ ] Security patches. Dependencies and the operating system need regular updates. Who applies them, and how fast?
  • [ ] Upgrades. Releases can change the data schema. Who tests the upgrade before it hits production?
  • [ ] Backups and restore tests. A backup you have not restored is a hope, not a backup.
  • [ ] Scaling. Event tables grow quickly. Who plans storage, indexes and retention?
  • [ ] Bot and spam traffic. Without filtering, robots inflate counts and storage.
  • [ ] Privacy requests. Access and deletion requests do not go away because you run the software. You still need a way to find and delete one person's data.
  • [ ] Uptime. If the collector is down, events are lost, not delayed.

If you cannot name an owner for five of the seven, you are buying a project, not a tool.

A ten-minute project health check

Before you commit, read three numbers from the project's public repository. They are not official benchmarks; they are a quick way to turn "is it maintained?" into something you can write down.

  1. Months since the last release. If it is more than six months and the project handles personal data, ask why.
  2. Share of recent issues that got a maintainer reply. Sample 20 issues from the last 90 days and count the replies.
  3. People who merged code in the last year. If one person merged most of it, a single departure can stop the project.

Write the three numbers next to your break-even table. A project that is cheap on paper but fails these checks has a cost that does not appear until the day you need a fix.

What the licence means for how you use it

Open source licences differ in what they require of you when you modify or host the software. Permissive licences ask little. Copyleft licences ask for more, and the GNU Affero General Public License goes furthest for network software: its section 13 says that if you modify the program, your modified version must prominently offer all users interacting with it remotely an opportunity to receive the source. In practice, if you customise an AGPL-licensed analytics server and users reach it over the network, you may need to share your changes.

Check three things before you commit:

  1. Does it meet the Open Source Definition? Some licences that look open restrict commercial use or competing services and do not qualify.
  2. What does it require if you modify and host it? If you plan to customise, read the network clause.
  3. Is there a paid edition with features the free one lacks? Features you rely on, such as single sign-on or long retention, may sit in the paid edition.
Licence checkQuestion to askIf the answer is no
Open Source DefinitionDoes it meet all ten criteria?Treat it as source-available, not open source
Network clauseDo you modify it and serve users over a network?Plan to share changes, or avoid it
Paid editionDo features you need sit behind it?Price the paid edition, not the free one
MaintainersIs the project active and funded?Budget for a fork or a move

Four checks before committing to an open source analytics tool.

A decision rule

Use these rules, in order:

  1. Do you have a requirement the hosted product cannot meet (data location, a code audit, a deep customisation)? If yes, open source is justified; budget for the operations.
  2. Do you have someone who will own it? If you cannot name a person with time in the calendar, choose hosted.
  3. Is your volume above the break-even you calculated? If no, hosted is cheaper. If yes, the saving must be bigger than the risk of running it.
  4. Is your goal to avoid lock-in? Then you need an exit path (a raw export you can load elsewhere), not necessarily self-hosting.

Many teams end up with a middle option: a hosted product that lets you export raw data. You give up the code audit but keep the exit.

How to do it in TapCub

TapCub is run as a hosted service, so there is no server for you to patch and no open source code of the platform to modify. What it offers on the points above is control over your data and a way out.

  1. Know what is collected. Web analytics › Events and All-platform analytics › Data › Tracking plan show every event and property you send, and the script records form id, name and action only, not what people type.
  2. Control the privacy settings. Configuration › Privacy center sets the collection tier, retention and data-subject requests (export and delete).
  3. Keep an exit. All-platform analytics › Data › Data export runs asynchronous exports of raw detail, within the retention period, so you can load it into your own warehouse.
  4. Bring data in, too. All-platform analytics › Data › Data import takes CSV events, user properties and Nginx or Apache logs.
  5. Share without handing over access. Configuration › Settings › Public sharing creates read-only links, with an optional password and a limit on days.

If your reason for open source is that you must audit or modify the code, TapCub does not meet it; if your reason is control and exit, the steps above cover most of it.

FAQ

What are the benefits of open source analytics?

You can inspect the code, choose where data lives, avoid per-event pricing, customise reports and leave without losing the software. Each one has a cost: you operate the servers, backups and upgrades yourself, and customisations must be kept up to date through every release.

Is open source analytics really free?

The software licence is free, but running it is not. In the sample above, self-hosting costs $520 a month at 2 million events, because six hours of engineering time and backups are a fixed cost. It becomes cheaper than an $80 per million events hosted plan only above about 8 million events a month.

What are the disadvantages of open source analytics?

Operating cost, security patching, upgrade testing, backups, scaling and privacy requests all fall to you. Support depends on the community unless you buy a paid edition, and a project maintained by a few people can slow down or stop.

Is open source analytics better for privacy?

Not automatically. It lets you choose where data lives and see what is collected, which helps. But you also become responsible for security, retention and handling access and deletion requests. A hosted product can meet the same needs if it offers the settings and exports you require.

When should you choose a hosted product instead?

Choose hosted when you have no named owner for operations, your volume is below the break-even point you calculated, or you need support with response commitments. If your concern is lock-in, make sure the hosted product lets you export raw data.

Sources

Filed underAnalytics

Was this article helpful?

We use your answers to fix and expand this page.

Lucas Hayes

Data Engineer

Writes about event design, data quality, and collection workflows, with verifiable implementation methods for reliable analytics.

Keep control of your data without running servers

Hosted analytics with raw data export, import, privacy settings and read-only sharing.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics