Quick Start

Send your first event to Solvof in under 5 minutes.

Prerequisites

  • You have created an Solvof account.
  • You have your Public API Key (found in your Dashboard Settings).

Step 1: Install the SDK

Choose your platform and install the Solvof SDK.

JavaScript (npm)bash
1npm install solvof-js

Step 2: Initialize & Track

Initialize the SDK with your API Key, and track your first event.

JavaScriptjavascript
1import Solvof from '@solvof/sdk-js';2 3// 1. Initialize4Solvof.init('YOUR_PUBLIC_API_KEY', { 5 distinctId: userId 6 debug: true 7 });8 9// 2. Track an Event10Solvof.track('Signed Up', {11  plan: 'Trial',12  source: 'Google Ads'13});
You're done!
That's it! If you used an SDK, the event is queued and will be flushed to the server automatically.

Expected Result

Navigate to the Analytics tab in your Solvof Dashboard. Within seconds, you should see the total event count increase, and the "Signed Up" event will appear in your Live Feed.

Common Errors

  • 401 Unauthorized: You used an invalid API Key, or you used your Secret Key instead of your Public API Key.
  • Event not showing up: If using an SDK, ensure the flush interval has passed (default 5-30s), or close the app to force a flush.