About this project

IndieStats is a self-hosted web analytics solution designed for privacy. It replaces traditional cookie-based tracking with localStorage-based visitor identification, eliminating the need for consent banners. The platform supports managing multiple sites, each with its own tracking snippet and domain allowlisting to prevent unauthorized data collection. Key capabilities include: - **Traffic Analysis**: Tracks pageviews, time on page, outbound clicks, and UTM parameters. It provides real-time dashboards with active visitor counts and live activity feeds. - **Visitor Insights**: Detects device, browser, OS, and country (via MaxMind GeoIP) and network/ISP (via DB-IP ASN). It includes built-in bot detection to filter crawler traffic. - **Advanced Filtering & Reporting**: Features a comprehensive filter system (using Tom Select) that applies across all views, including summary KPIs, charts, and DataTables. Data can be exported to Excel (XLSX) via background jobs. - **Custom Event Tracking**: Supports tracking custom events with up to 20 key-value properties and goal management to monitor specific conversion events. - **Infrastructure**: Built on Laravel 13 and PHP 8.3, supporting SQLite, MySQL, and PostgreSQL. It includes automated data pruning for configurable retention periods and a noscript fallback using a 1x1 tracking pixel.