Quickstart
Install the SDK, identify a user, track an event, and watch it arrive in Live.
- Create a project in the dashboard and copy its write key from Project → API keys.
- Install the SDK for your platform.
- Initialise once, identify the signed-in user, and track an event.
- Open Analytics → Live and watch the event arrive with its resolved identity.
npm install @edverix/analytics-webimport { AnalyticsWeb } from "@edverix/analytics-web";
export const analytics = new AnalyticsWeb({
apiKey: "edverix_live_XXXXXXXXXXXXXXXX",
endpoint: "https://api.edverix.com",
});
await analytics.init();
analytics.identify("u_5f2a", { plan: "pro", country: "IN" });
analytics.track("checkout_started", { cart_total: 2490, items: 3 });Write keys are safe to embed in client apps: they can only write events. Management calls made with a write key are refused.