Cube vs Matomo
Both are analytics tools. Here is what separates them.
What Cube is
## What Cube is Cube is a semantic layer. You define measures, dimensions and joins once in version-controlled files, and every consumer, dashboards, applications or notebooks, queries those definitions rather than writing its own SQL. ## The problem it addresses Metrics drift. One dashboard counts active users as anybody who logged in; another excludes internal accounts; a third filters to the last thirty days. All three were correct when written and none agrees now, so meetings spend their first ten minutes establishing whose number to believe. The second problem is cost and latency: a customer-facing chart that runs a warehouse query on every page load is both slow and expensive, and caching it correctly is work nobody wants to repeat per chart. ## Definitions as code Measures live in files, reviewed and versioned like anything else. Changing what revenue means becomes a pull request with a diff rather than an edit somebody made in a dashboard and nobody noticed. ## Many interfaces REST, GraphQL and SQL all expose the same model, so a dashboard tool and an application front end consume identical definitions without either knowing about the other. ## Pre-aggregations Rollups are built and refreshed ahead of time, so repeated questions are answered from a cache rather than the warehouse. That is what makes embedded analytics affordable. ## Access control Rules apply per query context, so the same definition serves an internal analyst and a customer seeing only their own rows. ## Where it stops This is infrastructure, not a product anybody looks at. It needs a warehouse, somebody to own the model, and discipline about where definitions live. Small teams with one analyst gain little. Pre-aggregation strategy is a genuine skill, and getting it wrong produces stale numbers that are harder to spot than slow ones. ## Development workflow Models are plain files, so branches, review and automated testing apply exactly as they do elsewhere in a repository. A playground executes queries against the current definitions during authoring, catching join mistakes immediately rather than in somebody's dashboard. Generated documentation lists available measures with their descriptions, giving consumers a reference instead of asking an analyst repeatedly.
What Matomo is
## What Matomo is Matomo is a web analytics platform you run on your own servers, or on hosting it provides. The distinguishing property is ownership: visit data sits in a database you control rather than inside a vendor's advertising infrastructure. ## The problem it addresses Analytics became free because the data had another buyer. For many organisations that trade is now unacceptable, either because a regulator has said so, because the sector handles sensitive information, or because sampling means the reported numbers are an estimate nobody can audit. Health services, public bodies and agencies with data processing agreements all hit the same wall, and the usual fallback of aggregating in a spreadsheet loses everything that made analytics useful. ## Unsampled by default Reports derive from complete visit logs rather than a statistical sample, so a small segment remains trustworthy instead of dissolving into noise. The raw log is queryable, which matters when a question arrives that no predefined report answers. ## Beyond page views The core covers goals, ecommerce, campaign attribution and a tag manager. Heatmaps, session recordings, form analytics and A/B testing exist as paid plugins, which is how the project funds itself while keeping the core open. ## Migration Historical data can be imported from server logs, so switching does not start the record from zero. That single capability removes the usual objection to leaving an incumbent. ## Operational considerations Raw visit storage grows quickly and report archiving must run on a schedule. Neither is difficult, both are the difference between a responsive installation and a slow one, and both are the buyer's responsibility in a way hosted analytics never is. ## Where it stops Advertising platform integrations are thin compared with the dominant product, and marketing teams who live inside that ecosystem will feel the gap immediately. Plugin quality varies. If nobody on the team wants to own a PHP application and its database, the hosted option exists and the self-hosted argument mostly evaporates.
We are not affiliated with either product. Upvote counts come from the published formula and neither position was paid for.