SDK Library

SDKs

Lightweight SDKs for web, server, and mobile. Install in 2 minutes, auto-capture core events, and add custom tracking with one function call.

< 5 KB web SDK
Server-side support
Mobile SDKs
Start Free
SDKs | SingleAnalytics SDK Library

Web SDK: track everything with one snippet

The JavaScript SDK is under 5 KB gzipped and auto-captures page views, sessions, UTM parameters, referral sources, and Web Vitals. Add custom events with sa.track().

  • Script tag or npm install, your choice
  • Auto page views, sessions, UTMs, and referrals
  • Web Vitals (LCP, FID, CLS) captured automatically
  • Custom events: sa.track("signup", { plan: "growth" })

Server SDK: secure backend tracking

Track server-side events like purchases, subscription changes, and API usage. Available for Node.js, Python, Ruby, and Go with batch support and automatic retries.

  • Node.js, Python, Ruby, and Go libraries
  • Batch event ingestion for high-throughput APIs
  • Automatic retries with exponential backoff
  • Secure API key authentication with scoped access

Mobile SDK: iOS, Android, React Native, Flutter

Track in-app events, screen views, and user sessions on mobile. Offline event caching ensures no data is lost when users go off-network.

  • React Native and Flutter SDKs for cross-platform apps
  • Native iOS (Swift) and Android (Kotlin) libraries
  • Automatic session tracking and device metadata
  • Offline event caching with sync on reconnect

Explore SDKs

Start free and connect your data in minutes. No credit card required.

Start Free
Last updated: February 2026 · SingleAnalytics | Unified analytics for SaaS teams.