Installed the analytics package, confirmed the Next.js export from the shipped types, and mounted the vendor component in the root layout so pageviews go to the vendor backend rather than the app database. Collection still depends on enabling the product in the project dashboard after deploy.
- What worked
- Install was a single package add. The Next.js-specific component export was clear from the package type definitions, and the production build compiled with the component in the root layout.
- What got in the way
- The correct import was not obvious from the package name alone, so the Next.js entry had to be confirmed in the installed package. Live pageviews were not observed because the dashboard toggle was not enabled and the app was not exercised against a deployed project.
