Vibecode Piwik PRO

track this build4 phases, 12 steps, beginner friendly
KINDA · weekend project
price variesbuild time weekend to multi-daycategory 📊 analyticsreplaced by 0 people

The visible privacy analytics suite loop is buildable, but a credible replacement needs more than the first screen. Piwik PRO earns its keep through ingestion, storage, reliability, so expect a weekend or multi-day build and a narrower personal scope.

the project pack5 files · written for this build, step by step
README.md
# Piwik PRO · indie build

A first-party collector for one site whose hard problems are firing at the moment a page actually goes away rather than at an event browsers no longer honour, counting visits without an identifier that outlives a day, and keeping reports answerable from aggregates after the raw rows have been deleted.

Estimated effort: **weekend**. Work `BUILD_PLAN.md` top to bottom · every phase ends in a check that has to pass before the next one starts.

## Stack

| Part | Choice | Why |
| --- | --- | --- |
| Collector | A small first-party endpoint on your own host, POST only | a third-party endpoint is the thing the exemption conditions rule out |
| Client | A hand-written script that sends on visibilitychange using the beacon API | the unload event is not fired reliably and some browsers have stopped firing it at all |
| Storage | SQLite for a small site, with raw events and daily rollups as separate tables | the reports read rollups so the raw rows can be deleted on schedule without losing history |
| Identity | A daily salted hash of coarse request attributes, with the salt destroyed after its window | you need to count visits, and that is a different requirement from knowing who somebody is |
| Reporting | Pre-aggregated daily rollups only, with no query path into the raw table | if a report cannot be answered from an aggregate it is a report this build does not offer |

## Before you start

Have every one of these ready. The plan assumes them from step one.

- [ ] **Node.js 22 or newer** · free
  - Why: Runs the collector and the reporting application.
  - Get it: nodejs.org or your version manager.
  - Verify: node --version prints v22 or higher
- [ ] **A host serving the collector on the same domain as the site** · free if you already host the site
  - Why: First-party collection is one of the exemption conditions, and a collector on a different domain fails it before any code is written.
  - Get it: A subdomain of the measured site, or a path on the same origin behind your existing server.
  - Verify: The script and the collector are both served from the measured host
- [ ] **Your own regulator's current guidance on analytics trackers** · free
  - Why: Rule zero is one regulator's published position and the text moves, so the conditions you build against need reading rather than inheriting.
  - Get it: Read the current guidance for the jurisdiction you operate in and write the conditions and the date into the README.
  - Verify: The README lists the conditions, the regulator and the date read
- [ ] **A published list of automated user agents to seed the bots table** · free
  - Why: Hand-written patterns are how real browsers get excluded silently, and starting from a maintained list with a citation is much safer.
  - Get it: Any maintained public list; record the URL and the date in each row.
  - Verify: Every seeded row has a source and a date
- [ ] **The retention windows and the tracker lifetime, decided before the schema** · free
  - Why: These numbers appear in the privacy text, the retention job and the tests, and deciding them late means a schema built for a longer window than you intend to claim.
  - Get it: Write the raw-event window, the rollup window and the tracker lifetime into configuration.
  - Verify: All three render on the privacy page from configuration

## Quick start

Follow Phase 1 in `BUILD_PLAN.md`; it creates the project.

Then copy `.env.example` to `.env` and fill in the values it documents.

## Honest limits

This build deliberately does not replace:

- Session replay and form field capture.
- Cross-site or cross-application identifiers.
- Joins against a customer table.
- Advertising attribution and conversion modelling.
- session replay privacy tooling
- enterprise governance and integrations
- high-volume ingestion and retention
- bot and identity resolution

If one of those is essential to you, that is the reason to keep paying for Piwik PRO, and the README should say so rather than pretend.

$ choose a build depth, inspect the files, then open the complete pack in your agent

why people still pay

Piwik PRO: Customers pay for trusted numbers, retention, privacy controls, and a pipeline that remains accurate while traffic and schemas change.

what you lose

xsession replay privacy tooling

xenterprise governance and integrations

xhigh-volume ingestion and retention

xbot and identity resolution

prior art · use these instead of building, if you'd ratherPlausible AnalyticsOpen-source privacy-focused web analytics.↗UmamiLightweight self-hosted web analytics.↗
share on X ↗"I just replaced Piwik PRO with one prompt"
the numbers

Piwik PRO pricing

planmonthlyannual (per mo)what you get
business$41.54/workspace—Starts below a maximum of 2,000,000 actions/month across 1-20 domains; 300 Data Activation profiles/month, 25 months retention, 50 custom reports per website, and up to 5,000 CMP-scanned subpages
data fundamentals—$422.36/workspace1-100 million actions/month, 1,000 Data Activation profiles/month, 5 CMP domains, 75 custom reports per website, and 2-hour real-time lookback
trusted insightscustom—1-500 million actions/month, 4,000 Data Activation profiles/month, 10 CMP domains, 150 custom reports per website, and 12-hour real-time lookback
secure intelligencecustom—Starts at 2 million actions/month with no upper limit, unlimited Data Activation profiles, 15 CMP domains, unlimited custom reports, and 24-hour real-time lookback

free tierno free tier

billingBusiness: monthly or annual in advance; Enterprise: annual contract; 30-day no-card Business trial; auto-renews

hidden costsBusiness is automatically moved to a higher paid configuration after exceeding actions/domains; premium services, exports, unlimited activation, extra retention, training, implementation and onboarding are add-ons. Subscription fees automatically rise 4% on every anniversary, and bank-transfer customers pay transaction fees.

verified 2026-08-12 · source ↗

questions
Vibecode Piwik PRO

Kinda. The core of Piwik PRO is buildable in a weekend with the prompt on this page, but there are real gaps: session replay privacy tooling, enterprise governance and integrations. Read the honest list above before committing.

How much does Piwik PRO cost?

Piwik PRO's pricing is usage-based or varies by plan · The pricing model is not safely comparable as one fixed monthly USD amount. Review the official source before publication..

What do I lose by replacing Piwik PRO?

Honestly: session replay privacy tooling; enterprise governance and integrations; high-volume ingestion and retention; bot and identity resolution. If any of those are load-bearing for you, keep paying.

Is there an open-source alternative to Piwik PRO?

Yes: Plausible Analytics (Open-source privacy-focused web analytics.), Umami (Lightweight self-hosted web analytics.). Using prior art is also vibecoding; the prompt is for when you want it exactly your way.