This task can be performed using Webanalytics.tech
Web Analytics for Developers
Best product for this task

Webanalytics.tech
analytics
Webanalytics.tech is a self-hosted analytics tool built with Node.js and PostgreSQL. It is designed for developers who want complete control over their data, privacy, and infrastructure.
What to expect from an ideal product
- Offers real-time data tracking and reporting using Node.js and PostgreSQL.
- Ensures complete data ownership and privacy by being self-hosted.
- Allows customization for specific analytics needs with flexible infrastructure.
- Provides detailed insights without relying on third-party services.
- Empowers developers with full control over their analytics setup.