What is Outlit?
Outlit is a customer context layer that unifies website visits, product usage, and billing events into a single queryable graph. You install it with the CLI, add a lightweight tracker to your site, and immediately start querying customer data from the terminal or through AI agents.Step 1: Install the CLI
- npm
- Homebrew
- Binary
Step 2: Authenticate
If you already have an account:On macOS/Linux, the CLI stores your API key at
~/.config/outlit/credentials.json with 0600 permissions. You can also pass a key directly with --key or set the OUTLIT_API_KEY environment variable.Step 3: Connect a Data Source
The browser SDK is the most common first integration — it captures website visits, form submissions, and engagement automatically. Choose your framework to get started:Script Tag
Fastest setup — one snippet
React
Hooks and context provider
Next.js
App Router and Pages Router
Vue
Composition API plugin
Nuxt
Auto-imported composables
SvelteKit
Stores and lifecycle hooks
Astro
Islands and SSR support
Angular
Injectable service
Node.js
Server-side tracking
Step 4: Query Your Data
Once the tracker is live and you have some traffic, use the CLI to explore:What happens automatically?
Once the browser SDK is installed, Outlit captures without any additional code:| What | How |
|---|---|
| Pageviews | Every page navigation, with URL, title, and referrer |
| Form submissions | Field values with automatic sensitive-field sanitization |
| Identity | Auto-identifies visitors when forms contain an email field |
| Engagement time | Active time on each page (not just tab-open time) |
| Attribution | UTM parameters, referrer, and landing page on first visit |
| Company enrichment | IP-based company identification for B2B visitor intelligence |