Installed the analytics package and mounted its Next.js component in the root layout for cookie-free pageviews. Export layout was not obvious from the package name, so published types had to be inspected, and live collection still depends on enabling the dashboard after deploy.
- What worked
- Install succeeded, the Next.js entry typed cleanly, and a production build included the snippet in the compiled layout. The client component fit a server layout without extra vendors or consent work.
- What got in the way
- The package surface was unclear until node_modules exports and types were read. The snippet injects on the client, so a raw HTML fetch could not confirm it. Visit storage was not observed because the hosted switch was never turned on.
