Using NextJS with Google Analytics and TypeScript

A quick guide to setting up user tracking with NextJS