@tell-rs/react with a small page tracker component that watches TanStack Router’s useLocation().
There is no separate
@tell-rs/tanstack package. TanStack Router integration uses the React SDK directly — you just add a <TellPageTracker /> component that listens for route changes.Setup
1. Add the provider and page tracker
TellPageTracker fires a Page Viewed event on mount and whenever location.pathname changes. Place it inside TellProvider so useTell() resolves.
2. Track events
3. Identify users
With TanStack Start (SSR)
TanStack Start renders on the server first. The browser SDK requireswindow and document, so tracking only runs client-side. This works automatically — TellProvider calls configure() inside a useEffect, which only fires in the browser.
For server-side tracking in API routes or server functions, use the Node.js SDK:
With redaction
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 page tracker component only adds route-change awareness.