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...