@tell-rs/nextjs is a thin wrapper around the browser SDK. It adds a "use client" component that watches Next.js route changes and fires Page Viewed events automatically. You install @tell-rs/browser alongside because that’s where the actual tracking, sessions, and transport live.Setup
Tell component watches usePathname() and useSearchParams() and fires a Page Viewed event on every route change. Disable with trackPageViews={false}.
With options
Manual tracking
Server-side tracking
For API routes, middleware, or server actions, use@tell-rs/node separately:
What you get from the browser SDK
All features documented in the browser SDK guide are available — sessions, device context, super properties, structured logging, opt-out, andbeforeSend hooks. The Next.js package only adds the auto page view component.