May I use PostHog analytics? It records page views, clicks, page errors, and browser and device details, and stores a random ID in cookies and local storage. It runs only if you accept. Change your choice any time under "Privacy settings" in the footer. Details are in my privacy policy.