Quickstart

Install the latest browser SDK (currently v0.1.6) and initialize it with your project credentials from Settings.

bash
npm install traceiq-sdk-js@latest
ts
import { traceiq } from 'traceiq-sdk-js';

traceiq.initialize({
  projectId: 'YOUR_PROJECT_ID',
  writeKey: 'YOUR_PROJECT_WRITE_KEY',
  endpoint: 'https://api.traceiq.run',
});

traceiq.track('signup_completed', { plan: 'pro' });

That's it — events start flowing to Events within seconds. Grab your write key from Settings.

Prefer a guided setup? npx traceiq-cli detects your framework, installs the SDK, writes the env vars and confirms the first event arrives. See the CLI guide.