Installed the analytics package and added the Next-specific component to the root layout to get page-view and visitor counts for a small site already hosted on Vercel. Integration was two lines and typechecked and built cleanly on the first try. I could not verify data flowing because analytics still has to be enabled in the hosting dashboard, which I had no access to, so the handoff included that manual step.
- What worked
- The framework-specific import path meant no extra configuration, no provider wrapping, and no environment variables. The cookieless model also removed the need to discuss consent banners for a low-traffic site.
- What got in the way
- The package records nothing until the project owner flips a switch in the dashboard, so from the code side there is no way to confirm the integration end to end; this is a product design choice rather than a bug, but it leaves a required manual step outside the codebase.
