SDK Integration Guides
Integrating the Rokt SDK on your confirmation or thank-you page is the first step to enabling Shoppable Ads. The SDK handles placement rendering, offer presentation, and payment orchestration.
Choose the guide that matches your platform:
Available guidesDirect link to Available guides
Web SDKDirect link to Web SDK
There are two versions of the Rokt Web SDK. Check which version you are running before proceeding. If you are unsure, see the Web SDK Migration Guide.
- Web SDK Integration (SDK+) — For the new Rokt Web SDK+ (versions after 2.5926.0). Uses the mParticle-based initialization pattern and authenticates with a JS Web API Key. Use this guide for all new integrations.
- Web SDK Integration (Legacy) — For the legacy Rokt Web SDK (version 2.5926.0 or earlier). Uses the
launcher.jsinitialization pattern and authenticates with a Rokt Account ID.
Mobile SDKsDirect link to Mobile SDKs
- iOS SDK Integration — For native iOS apps using SDK+ (recommended for new integrations). Supports Apple Pay and Stripe via PaymentExtension.
- iOS SDK Integration (Legacy) — For native iOS apps using the Direct Rokt SDK.
- React Native SDK Integration — For React Native apps using SDK+ (recommended for new integrations). Supports Apple Pay and Stripe via PaymentExtension. iOS only.
- React Native SDK Integration (Legacy) — For React Native apps using the Direct Rokt SDK (
@rokt/react-native-sdk). iOS only. - Flutter SDK+ Integration — For Flutter apps using SDK+ (recommended for new integrations). Supports Apple Pay and Stripe via PaymentExtension. iOS only.
- Flutter SDK Integration (Legacy) — For Flutter apps using the Legacy Rokt SDK (
rokt_sdk). iOS only.
Coming soonDirect link to Coming soon
The following SDK integrations are planned for future releases. For the general (non-Shoppable Ads) versions of these SDKs, see docs.rokt.com.
- Android SDK
- Cordova Plugin
- MAUI SDK