A Laravel package that tracks and stores detailed user analytics including sessions, devices, geo-location, SQL queries, and errors.
Tracker is a Laravel package that provides comprehensive user analytics and tracking capabilities for web applications. It automatically collects detailed information about visitors, sessions, devices, locations, errors, and database queries, storing everything in a normalized database structure for efficient querying and analysis. The package solves the problem of relying on external analytics services by offering self-hosted, privacy-focused tracking integrated directly into Laravel applications.
Laravel developers and teams building web applications who need detailed, self-hosted analytics without third-party dependencies. It's particularly valuable for applications with privacy requirements, custom analytics needs, or those operating in regulated industries.
Developers choose Tracker because it offers deep integration with Laravel's ecosystem, provides more detailed technical data than typical analytics tools, and keeps all data within their own infrastructure. Unlike external services, it can track SQL queries, application errors, and custom events while maintaining full control over data privacy and storage.
Laravel Stats Tracker
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Automatically captures sessions, devices, geo-location, SQL queries, errors, and custom events, providing deep technical insights beyond typical analytics.
Uses Eloquent models, Facades, and middleware for native integration, making it easy to query and extend within Laravel applications.
Stores data in normalized tables (e.g., tracker_sessions, tracker_devices) to minimize disk usage and enable flexible SQL queries for business intelligence.
Keeps all data in-house without relying on external services, ideal for compliance with privacy regulations or sensitive applications.
Requires setting up a separate database connection, configuring middleware, and installing external geo-ip packages, which can be error-prone and time-consuming.
Logging every hit, SQL query, and error can significantly increase database load, potentially slowing down high-traffic sites if not optimized.
The included Blade views require manually installing sb-admin and lack advanced features compared to commercial analytics platforms.
Laravel Stats Tracker is an open-source alternative to the following products:
Mixpanel is an analytics platform that helps companies track user interactions with their digital products, providing insights into user behavior through event-based data collection.
A web analytics service that tracks and reports website traffic, providing insights into user behavior and marketing effectiveness.
Amplitude is a product analytics platform that helps companies understand user behavior, track product metrics, and make data-driven decisions to improve digital products.