About this project

MikroAnalytics is a minimal, privacy-first analytics solution designed for teams that want product signals without tracking individual users. It avoids cookies, local storage, cross-site IDs, and raw IP/user-agent storage, making it a GDPR-conscious alternative to larger analytics platforms. Key capabilities include: - **Tracking**: Automatic pageviews, SPA navigation, and custom product events via a tiny JavaScript tracker (`m.js`) or HTML data attributes. - **Data Management**: Uses a plain SQLite database for aggregate-first storage, ensuring the user owns their data. - **Privacy Features**: Support for Do Not Track (DNT) and Global Privacy Control (GPC), with optional daily unique visitor estimates using rotating hashes. - **Dashboard**: A dedicated management interface for site configuration, install checks, and period-over-period metric comparisons. - **Security**: Integration with MikroAuth for magic-link sign-in and a protected reporting API using session cookies or bearer tokens. - **Developer Tools**: Provides an OpenAPI document for API automation and a simple integration surface for web applications.