NextJS recipe: Tracking 404s with Plausible and NextJS App Router
Mar 17, 2024 · 1 min read · By default, all pages are statically rendered. If you add any backend or middleware logic to your NextJS page, it will be rendered as a server component. Plausible Analytics requires access to the window object to track 404 events. So create a client...
Join discussion