Documentation Index
Fetch the complete documentation index at: https://docs.tracelit.io/llms.txt
Use this file to discover all available pages before exploring further.
init() once at the top level of your app — main.tsx or App.tsx works great.
history.pushState — no router config needed.
What’s tracked automatically
Onceinit() runs, all of this starts working with zero extra code:
- Page views (including client-side route changes)
- Clicks, rage clicks, and scroll depth
- Session replay
- JavaScript and API errors
- Performance metrics (LCP, FCP, TTFB)
- Live visitor count
Install with AI (Bolt, Lovable, Replit)
What’s next?
Identify users
Link sessions to real users after login.
Feature tagging
Mark flows like checkout or onboarding in replays.