Hacker Noon

How I Built a First-Party Analytics Platform With Next.js Edge Middleware | HackerNoon

Google Analytics ships a 45 KB script. Plausible and Fathom ship maybe 5. The problem with all of them is the same: a beacon request from the browser that co…