- Abstract the complexity away: we handle caching, retry mechanisms, networking, etc.
- Encourage best practice: built around parameters & language-specific best practice
- Broad deployment support: 30+ SDKs across clients, servers, the edge, and more.
When Will I Use the Statsig SDKs?
1. Targeting & Assignment
Decide in-code who sees new features and experiment variants. Target based on any user attributes (e.g., location, device type) or environment-level attributes, letting you fine-tune rollouts and experiment enrollment.2. Logging Events
Log your key business metrics to power experiment & product analytics. Your events are piped into Statsig without any extra effort. For web-based platforms (e.g., JavaScript, React), Statsig also supports Autocaptured Events.Choosing the Right SDK: Client vs. Server
Statsig offers both client-side and server-side SDKs, each suited to different use cases:- Client-Side SDKs: Designed for user-facing applications where events are logged directly from the browser or mobile app. These SDKs work in real-time, providing instant feedback on user behavior.
- Server-Side SDKs: Ideal for backend services, allowing you to control experiments, feature flags, and log server-side events. Server-side SDKs offer more control, especially for use cases involving system-level actions or business logic.
Explore SDKs
Statsig offers SDKs for a wide variety of platforms to suit any codebase or deployment preference:Client SDKs
JavaScript
Browser JavaScript
React
Client-Side React
React Native
Bare React Native SDK
Next.js
Next.js SSR, SSG & Client-Side
Angular
Angular bindings for Javascript SDK
Swift
iOS, MacOS, tvOS SDK
Android
Android Kotlin/Java SDK
.NET Client
Client SDK for .NET framework
Roku
Roku Brightscript SDK
Unity
Unity game engine SDK
Dart/Flutter
Flutter/Dart Mobile App SDK
C++ Client
C++ client-side SDK
Server Side SDKs
Node.js
Node.js server SDK
Java
Java server SDK
Python
Python server SDK
Go
Go server SDK
Ruby
Ruby server SDK
.NET Server
.NET server SDK
PHP
PHP server SDK
Rust
Rust server SDK
C++ Server
C++ server SDK
Next Steps: Installing Your SDK
- Select Your SDK: Choose the client or server SDK that fits your platform from the lists above.
- Follow the Installation Guide: Each SDK has an installation guide that walks you through the setup, ensuring a smooth integration with your app.
- Start Experimenting: Once integrated, you can begin setting up feature flags, running experiments, and logging events for analysis.