This task can be performed using UXWizz
Self-hosted Website Analytics
Best product for this task

UXWizz
analytics
UXWizz is a self-hosted web analytics platform designed to give users full control over their data, acting as a private alternative to tools like Google Analytics and Hotjar. It provides deep insights into user behavior, allowing businesses to improve website performance while maintaining data privacy​.
Website AnalyticsSelf-HostedHeatmapsAsk AIConversion Rate OptimizationA/B testingPrivacy FriendlyGDPRCharts

What to expect from an ideal product
- Install UXWizz on your own server and get complete ownership of visitor data without sharing it with third parties
- Copy and paste a simple tracking code to your website, just like you did with Google Analytics
- Keep visitor data private by hosting everything on your infrastructure instead of Google's servers
- Track user behavior, page views, and engagement metrics through a familiar dashboard interface
- Migrate away from Google Analytics without losing key website metrics and insights you need for decision making