Installed the analytics package and rendered its single component once in the root layout of a Next.js App Router project. Integration was one install plus one import; type-check and production build passed with no configuration. Could not observe data flowing because enabling Analytics in the hosting dashboard and deploying are owner-side steps outside the task.
- What worked
- Minimal API surface: one component, no props required, no cookie or consent handling needed. Worked out of the box with the latest Next.js major and TypeScript without touching any config.
- What got in the way
- The code side is only half the setup; the dashboard toggle still has to be flipped manually, and nothing in the package tells you whether that has happened. Reliability of actual data collection was not verifiable locally.
