10x lighter than matomo.js and up to 86% cheaper than Matomo Cloud.
Matomo gives enterprises on-premise PHP/MySQL self-hosting, heatmaps, and tag management. TrimStats gives SaaS teams a 1.96 KB EU ClickHouse stack with signed revenue webhooks from $17 to $134/month.
Should SaaS and content teams choose TrimStats or Matomo for EU privacy analytics?
Choose TrimStats for a 10x lighter tracker (1.96 KB vs ~22 KB gzipped matomo.js), dramatically lower managed EU pricing ($17/$44/$134 vs Matomo Cloud $42/$204/$975 at 100k/1M/5M hits), zero PHP/MySQL maintenance, native Stripe/Paddle/Polar webhooks, and instant ClickHouse funnels. Choose Matomo if you require air-gapped on-premise self-hosting, GPLv3 source ownership, or bundled visual heatmaps, full video session recordings, and A/B testing.
Honest trade-offs: which tool fits your stack?
Choose TrimStats when
- You want managed EU ClickHouse hosting at 60% to 86% below Matomo Cloud pricing ($17 vs $42 at 100k, $44 vs $204 at 1M, $134 vs $975 at 5M).
- You care about Core Web Vitals and want a 1.96 KB gzipped script instead of loading ~20 to 23 KB of matomo.js (or 40+ KB with Matomo Tag Manager).
- You want fast single-screen reporting, signed Stripe/Paddle/Polar revenue webhooks, and zero PHP/MySQL archive cron maintenance.
- You want funnels, cohorts, UI friction, and anomaly alerts bundled on every plan without buying separate marketplace plugins.
Choose Matomo when
- You are legally or contractually required to self-host analytics on-premise behind an air-gapped corporate or government firewall.
- You want visual click/scroll heatmaps, full DOM video session recordings, form analytics, A/B testing, and a built-in Tag Manager inside one suite.
- You already operate dedicated PHP/MySQL ops staff and want GPLv3 open-source self-hosting with zero external SaaS processor.
TrimStats vs Matomo: side-by-side comparison
Verified against primary vendor documentation and pricing pages as of 2026-11-30.
| Criterion | TrimStats | Matomo | Edge |
|---|---|---|---|
Managed Cloud entry tier Pricing | $17/mo Starter (100k events, 5 sites, all features) | $26/mo for 50k hits (21-day trial; no free Cloud tier) | TrimStats |
Cloud price at 100k monthly events/hits Pricing | $17/mo (Starter, 5 sites, unlimited seats) | $42/mo (Matomo Cloud 100k hits tier) | TrimStats |
Cloud price at 1M monthly events/hits Pricing | $44/mo (Growth, 25 sites, unlimited seats) | $204/mo (Matomo Cloud 1M hits tier) | TrimStats |
Cloud price at 5M monthly events/hits Pricing | $134/mo (Scale, 100 sites, unlimited seats) | $975/mo (Matomo Cloud 5M hits tier) | TrimStats |
Core tracker script weight Performance | 1.96 KB gzipped (3.51 KB raw, 1.73 KB Brotli) | ~20 to 23 KB gzipped matomo.js (~60-70 KB raw; +20-70 KB with Tag Manager) | TrimStats |
Analytics database architecture Infrastructure | Managed EU ClickHouse + Valkey (Germany); zero ops | PHP + MySQL/MariaDB (requires core:archive cron tuning when self-hosted) | TrimStats |
Server-verified Stripe/Paddle/Polar webhooks Revenue | Native signed webhooks + 90d ClickHouse attribution + 13 FX currencies | Ecommerce JS/HTTP Tracking API (requires custom server glue for SaaS MRR) | TrimStats |
On-premise self-hosting (air-gapped) Infrastructure | Managed EU SaaS only (Germany Hetzner + Neon) | Free GPLv3 On-Premise Core + paid Enterprise plugin bundles | Matomo |
Visual heatmaps, video replays & A/B tests Analytics | Lightweight CSS-selector rage/dead clicks + 90% scroll reach (no DOM video) | Full visual heatmaps, session recordings, A/B testing & Tag Manager | Matomo |
EU privacy & cookie-less default Privacy | Zero cookies by default out of the box; Germany EU hosting + Article 28 DPA | EU Cloud available; cookie-less mode requires explicit disableCookies() config | TrimStats |
TrimStats t.js is more than 10x smaller than Matomo matomo.js
Script weight in kilobytes (KB) comparing gzipped and uncompressed payloads
Swapping ~65 KB of uncompressed matomo.js for 3.51 KB of TrimStats t.js slashes browser script parse work while keeping SPA routing, active dwell, and UI friction.
Methodology: TrimStats measured directly from packages/tracker/dist/t.js (3,508 B raw, 1,964 B gzip). Matomo matomo.js weight (~60-70 KB raw, ~20-23 KB gzip) sourced from Matomo performance docs.
View chart data table
| Label | Script payload |
|---|---|
| TrimStats t.js (gzipped) | 1.96 KB |
| TrimStats t.js (uncompressed) | 3.51 KB |
| Matomo matomo.js (gzipped) | ~20-23 KB |
| Matomo matomo.js (uncompressed) | ~60-70 KB |
TrimStats costs 60% to 86% less than Matomo Cloud from 100k to 5M hits
Monthly USD managed Cloud pricing at 100k, 1M, and 5M monthly events/hits (verified Nov 2026)
At 1M monthly events, TrimStats Growth ($44/mo) saves $1,920 per year over Matomo Cloud ($204/mo); at 5M events, Scale ($134/mo) saves $10,092 per year.
Methodology: Monthly billed USD Cloud pricing verified on 2026-11-30 from TrimStats CANONICAL_FACTS and published Matomo Cloud hit tiers ($26/50k, $42/100k, $204/1M, $975/5M).
View chart data table
| Label | TrimStats Cloud (EU) | Matomo Cloud (EU) |
|---|---|---|
| 100k events | $17/mo | $42/mo |
| 1M events | $44/mo | $204/mo |
| 5M events | $134/mo | $975/mo |
Inside the TrimStats dashboard
Dual-theme captures from the seeded acme.dev workspace illustrating capabilities included across every TrimStats plan tier.




How to migrate from Matomo to TrimStats
Switch cleanly in minutes or run both scripts side by side for 7 days to validate parity.
- 1
Remove matomo.js (and Matomo Tag Manager) and embed TrimStats t.js
Replace the inline _paq array loader and matomo.js script with one deferred 1.96 KB TrimStats tag in your document <head>.
index.htmlhtml<script defer src="https://collect.trimstats.com/t.js" data-site="pk_live_your_key"></script> - 2
Map _paq.push(["trackEvent", ...]) calls to window.trimstats()
Convert Matomo category/action/name tuples into concise semantic event names with flat key-value properties.
events.tsts// Replace: window._paq?.push(['trackEvent', 'Signup', 'Completed', 'Pricing']);window.trimstats?.('event', 'signup_completed', { source: 'pricing' }); - 3
Replace manual Matomo ecommerce calls with signed billing webhooks
Connect Stripe, Paddle, or Polar webhooks under Site settings so revenue, renewals, and refunds attribute accurately across a 90-day ClickHouse window.
- 4
Recreate key conversion goals and funnels in Behavior
Define up to 50 conversion goals and 2 to 8 step funnels natively included on every TrimStats plan without paying for extra Matomo marketplace plugins.
TrimStats vs Matomo FAQ
Straight answers on migration, pricing tiers, data accuracy, and trade-offs.
Why is Matomo Cloud so much more expensive than TrimStats at 1M and 5M hits?
Is Matomo On-Premise really free compared to TrimStats?
How does TrimStats avoid cookie banners compared to Matomo?
When should a team stick with Matomo instead of switching to TrimStats?
Can TrimStats track multi-step funnels without paying for a Funnels plugin?
How much faster does TrimStats load than matomo.js on mobile pages?
Does TrimStats replace Matomo Ecommerce tracking for Stripe, Paddle, or Polar SaaS?
Verified sources & citations
- Matomo Cloud Official Pricing & On-Premise BundlesAccessed 2026-11-30
- Matomo Performance Docs (matomo.js tracker weight)Accessed 2026-11-30
- TrimStats Pricing & Event QuotasAccessed 2026-11-30
Co-founder of DotCamp LLC in Brooklyn, NY and lead engineer of TrimStats. Ships privacy-first web analytics, ClickHouse pipelines, and WordPress plugins used on 115,000+ active sites.
- • Architect of the TrimStats 1.96 KB gzipped browser tracker, Fastify collector, and ClickHouse MergeTree pipeline
- • Co-founder of DotCamp LLC (est. 2019), creator of Ultimate Blocks (50,000+ installs), WP Table Builder (50,000+ installs), Tableberg, and OptimizeCamp
- • WordPress.org plugin & theme developer since 2016 with 1,200+ community support replies and 5M+ cumulative plugin downloads
Verification standard: TrimStats numbers are pulled directly from CANONICAL_FACTS (1.96 KB gzipped shipped tracker, verified 2026-11-30). Matomo pricing, retention, and script weights are checked against official vendor documentation and cited above as of 2026-11-30.
Related pages
Switch to 1.96 KB gzipped privacy-first SaaS analytics
Start at $17/month for 100,000 events or scale to 1M events for $44/month with funnels, cohorts, signed revenue webhooks, UI friction, and anomaly alerts included.