About this project

Kero is an embeddable analytics solution for Go web applications that focuses on privacy by tracking server-side requests rather than relying on client-side scripts. It provides a glanceable dashboard to monitor key web metrics without requiring the provisioning of external databases or servers. Key capabilities include: - **Framework Integration**: Provides middleware for popular Go frameworks, specifically Gin and Fiber. - **Visitor Tracking**: Collects data on browser and OS versions, device types, referrers, UTM parameters, and approximate geographic location (via optional GeoLite2 integration). - **Request Metadata**: Tracks request durations (to identify slow routes) and distinguishes between browser visits and programmatic HTTP client requests. - **Privacy-First Approach**: Does not store IP addresses or full User-Agent strings; instead, it uses hashed IDs for visitor counting and supports the Do Not Track (DNT) header. - **Data Management**: Utilizes Prometheus TSDB for on-disk data storage with configurable data retention periods. - **Customizable Filtering**: Options to ignore web assets (CSS/JS), known bots, and specific request types.