Framework Guides
Step-by-step trakoo integrations for popular web frameworks, covering client and server tracking.
These guides show how to wire trakoo into a specific framework end to end: where to create your client and server instances, how to track from components and server code, and the framework-specific gotchas to watch for.
Available guides
Next.js App Router
Next.js 13+ with the App Router, Server Components, and Server Actions.
SvelteKit
SvelteKit with load functions, form actions, and hooks.
Any framework
trakoo has no framework requirement, so the pattern is the same everywhere:
- Create a client analytics instance for browser code with
createClientAnalytics(). - Create a server analytics instance for server code with
createServerAnalytics(). - Track events on the instance that matches where the code runs.
If your framework isn’t listed yet, start from Quick Start and read Client vs Server to decide where each event belongs. The same typed event definitions work in any framework.
