Installation
Quick Start
Initialize Outlit in your root layout:Alternative: Layout Component
Initialize in the layout component:Tracking Events
Track events in your components:Identifying Users
Identify users after authentication:Navigation Tracking
Track navigation with SvelteKit’s stores:Load Function Integration
Track events from load functions:Server-Side Tracking
Track events from API routes:For server-side tracking, see the Node.js integration guide.
Auth Integration
With Lucia
Activation
Track activation after the user completes your product milestone:track() for product activity. Outlit handles engagement and inactivity automatically; see Customer Journey.
Account billing (
paid, churned, trialing) is tracked separately. If you’ve connected Stripe, billing is automatic. For manual billing, see Stages & Billing.Consent Management
Handle user consent:Stores Integration
Create a store for Outlit:Environment Variables
Configure environment variables:TypeScript Support
Full TypeScript support is included:Next Steps
Server-Side Tracking
Track events from your backend
Identity Resolution
Learn how profiles are merged
NPM Package
Full API reference
React Integration
Use Outlit with React