About this project

Statalog provides a lightweight, cookieless web analytics solution that allows users to keep their data on their own servers. It is designed for GDPR compliance, avoiding cross-site tracking and the storage of personal data. The system uses HMAC-SHA256 with a daily rotating salt for anonymous visitor identification and does not store raw IP addresses. Key capabilities include: - Real-time dashboard: Tracks unique visitors, sessions, pageviews, bounce rate, and average visit duration with period-over-period comparisons. - Traffic Analysis: Provides data on top pages, traffic sources, devices, browsers, operating systems, screen resolutions, and geographic locations (countries and cities). - Live Stats: Monitors current active users and minute-by-minute traffic trends. - Multi-site Support: Allows tracking of multiple websites from a single installation. - Privacy Controls: Includes options to exclude internal IPs, hide city-level data, and provide per-visitor localStorage opt-out. - Lightweight Integration: Uses a tracking script under 2KB that honors Do Not Track settings. The technical stack is built on PHP 8.3, Laravel 13, and Bootstrap 5, utilizing MySQL or MariaDB for general data, ClickHouse for raw hit data, and Redis for queuing and caching.