Description
A privacy-friendly, self-hosted web analytics service for all Jestech sites and future client projects. Like Plausible/Umami but integrated into the Jestech ecosystem.
**Core Features:**
- Lightweight tracking script (<1KB) that sites embed
- Dashboard showing pageviews, visitors, sources, pages, devices, countries
- Real-time visitor count
- Event tracking (button clicks, form submissions, custom events)
- UTM campaign tracking
- API for programmatic access to analytics data
- Multi-site support (track all Jestech properties from one dashboard)
**Technical Architecture:**
- Tracking endpoint: high-throughput event ingestion (FastAPI + async)
- Storage: PostgreSQL with TimescaleDB extension for time-series, or ClickHouse for scale
- Background workers: periodic rollups (hourly/daily aggregates) to keep queries fast
- Lightweight JS snippet served from CDN/static route
- Dashboard: Next.js frontend with charts and data tables
**Framework Development Required:**
*jestech-api additions:*
- Time-series data ingestion patterns
- Event streaming / high-throughput endpoints
- Aggregation query helpers (GROUP BY time buckets)
- Background job processing (periodic rollups, data cleanup)
- Lightweight static file serving (tracking script)
*@jestech/ui additions:*
- Line chart, bar chart, area chart, pie/donut chart components
- Date range picker with presets (today, 7d, 30d, custom)
- Data table with sorting, filtering, pagination
- Stat cards with sparklines and trend indicators
- Real-time counter/number animation
- World map visualization (visitor geography)
**Why This First:**
Every other product needs analytics. Building this gives us the chart components, data table, and date picker that every dashboard will reuse. It also eats our own dog food — we can immediately track all Jestech sites.
**Revenue Potential:** Self-hosted analytics SaaS ($5-15/mo per site). Growing market as privacy regulations tighten and companies move away from Google Analytics.
**Deployment:** jestech-analytics.jestech.org (dashboard) + t.jestech.org (tracking endpoint)
Comments (2)
Administrator3/29/2026
## Evaluation | Dimension | Score | |-----------|-------| | Feasibility | 9/10 | | Market Fit | 8/10 | | Effort (inverted) | 6/10 | | Strategic Alignment | 10/10 | | **Total** | **33/40** | ### Notes Privacy analytics is a proven market (Plausible, Umami, Fathom). Self-hosted angle differentiates. Builds critical framework components (charts, data tables, time-series). Every Jestech product needs analytics. Moderate effort — tracking endpoint is simple, dashboard is the bulk of work. --- Auto-advancing to **planning** (score ≥ 28).
Administrator3/29/2026
**Stage transition:** planning → prototyping Built at C:\Projects\jestech-analytics. 21 tests passing. Custom SVG charts, tracking script, real-time counter.
Created: 3/29/2026, 6:42:29 AM
Updated: 3/29/2026, 7:00:05 AM