SDK / Integration

Install a client, drop in your key, and send the first event.

import { FeatureTrack } from '@featuretrack/sdk'

const ft = new FeatureTrack({
  key: process.env.FT_SERVER_KEY,
  env: 'production',
})

ft.identify(user.id, { plan: user.plan, company: user.company })
ft.track('checkout_started', { plan: 'pro', seats: 12 })
ft.feature('ai_autocomplete').used()

Verify your integration

SDK installed
@featuretrack/sdk@4.2.0 · detected 2 min ago
First event received
session_start from svc_web
Waiting for identify() call
Call ft.identify() to correlate events with users.

Official SDKs

JavaScript / TypeScript
React & React Native
Python
Go
Ruby
Java / Kotlin

Community SDKs exist for PHP, Rust, Elixir and Swift.