Overview:
Bklit Analytics is an open-source analytics platform built for modern web applications with a focus on privacy. It enables tracking of pageviews, custom events, user sessions, and conversion funnels through a developer-friendly SDK and a real-time dashboard. The platform is designed for developers and teams who need self-hosted analytics with control over data retention and infrastructure. It supports both cloud-hosted and self-hosted deployment models and provides real-time insights via WebSocket connections.
Core Features:
Real-time analytics: Uses persistent WebSocket connections for sub-second latency on live visitor tracking, session ending, and page viewing.
Visual funnel builder: Allows users to define and visualize conversion steps for analyzing user behavior.
Geographic insights: Provides city-level location data including country, city, coordinates, ISP, and timezone via ip-api.com.
Developer-friendly SDK and API: Offers a programmable interface and SDK for integrating analytics tracking into web applications.
Self-hosting option: The project is open-source and can be deployed manually or with Docker, using PostgreSQL, ClickHouse, and Redis.
Enterprise-grade security and permissions: Supports authentication (email magic links, GitHub/Google OAuth) and configurable access controls.
Use Cases:
Developers integrating analytics: Using the SDK and API to track pageviews, custom events, and sessions in web applications.
Teams requiring real-time visitor insights: Monitoring live user activity, such as page views and map locations, with instant updates.
Self-hosted analytics deployments: Running the platform on own infrastructure for unlimited data retention and data control.
Conversion optimization analysis: Building and analyzing visual funnels to understand drop-off points in user journeys.
Why It Matters:
Bklit Analytics offers an alternative to cloud-only analytics services by providing full source code and a self-hosting option. Its architecture uses modern, event-driven real-time tracking (WebSockets) instead of polling, and stores event data in ClickHouse for high-performance queries. The project includes a monorepo structure with modular optional features (OAuth, billing, maps) that can be enabled via configuration, giving deployers flexibility without requiring all integrations.




