Docs

Reclaim SDK docs

Lightweight, route-based documentation to get event tracking live and visible in your dashboard.

1) Install and configure

Install the SDK in your app and store the project API key from Settings.

import { ReclaimClient } from "@reclaim/sdk";

const client = new ReclaimClient({
  baseUrl: process.env.NEXT_PUBLIC_API_URL,
  projectId: "<your-project-id>",
  apiKey: process.env.RECLAIM_API_KEY,
});

await client.track({
  projectId: "<your-project-id>",
  user: {
    externalId: "user_123",
    email: "founder@acme.com",
    name: "Alex",
  },
  event: "visited_pricing",
  properties: {
    source: "website-pricing",
  },
});

2) Start with high-intent events

Begin with events that clearly indicate buying or activation intent. Reclaim’s default logic uses this signal to create intent logs and queue recoveries.

  • user_active
  • user_signed_up
  • visited_pricing
  • started_checkout
  • payment_success
  • key_action

3) Validate in the dashboard

After sending events, confirm the full loop:

  1. Open Dashboard → Intent logs and verify detection entries.
  2. Check Users for first-active/last-seen updates.
  3. Review Templates and run a manual send for validation.

What you need

• Reclaim project ID

• Project API key

• User identifiers (email + external ID)