Instrumenting Product Analytics Events in a Next.js and Laravel App
A tested setup for product analytics in a Next.js front end and a Laravel API: an event catalog, client events batched with sendBeacon, server events written after commit, and deduplication by event ID.
