Quickstart
Get Inslytic running in your app in under 5 minutes. This guide covers installation, initialization, and sending your first events.
1. Create an account
Sign up at app.inslytic.com to create your organization and first project. You'll get an API key from the project settings page.
2. Install the SDK
Choose the SDK that fits your stack:
npm
# Browser (vanilla JS, any framework)
npm install @inslytic/sdk-browser
# React (includes browser SDK)
npm install @inslytic/sdk-react
# Node.js (server-side)
npm install @inslytic/sdk-node3. Initialize
Call init() once when your app loads:
Browser
import { init, track } from "@inslytic/sdk-browser";
init({
apiKey: "your-api-key",
// endpoint defaults to https://api.inslytic.com
});
// Page views are tracked automatically — no manual calls needed4. Track events
Use track() to capture user actions:
// Track a custom event
track("signup_completed", {
properties: { plan: "growth", source: "landing_page" },
});
// Track a button click
track("button_clicked", {
properties: { button: "upgrade", location: "header" },
});5. Identify users
Once a user logs in, call identify() to link their anonymous session to a known identity:
import { identify } from "@inslytic/sdk-browser";
// After user logs in
identify("user-123");6. View your data
Open your Inslytic dashboard to see events flowing in. The dashboard shows real-time visitor counts, pageviews over time, top pages, top events, funnels, retention cohorts, and individual user profiles.
Next steps
- Browser SDK reference — full API documentation
- Node.js SDK reference — server-side tracking
- React SDK reference — provider and hooks
- API reference — direct HTTP ingestion