Overview
The Monetai SDK is the core component that brings AI-powered dynamic pricing into your app. By integrating the SDK, you can collect user behavior data and deliver personalized offers optimized for each user.
Core Functionality​
The SDK has two primary responsibilities.
- User Event Collection
- Collects user behavior data to power the AI pricing model
- Dynamic Pricing
- Retrieves personalized offers with optimized discount rates for each user
- Records product impressions to continuously improve offer targeting
Supported Platforms​
Monetai SDK currently supports React Native, iOS and Android.
The Integration Workflow​
Integrating the SDK involves the following key steps, from initial setup to delivering personalized offers:
- SDK Installation: Add the Monetai package to your project.
- Initialization: Initialize the SDK with your SDK key and user ID when your app starts.
- Event Tracking: Log user behavior events to power the AI pricing model.
- Logging Product Views: Define a
placementfor each screen and record product impressions. - Getting Offers: Call
getOffer()with aplacementto retrieve personalized discount offers.
Next Steps​
Ready to start? Head to our detailed setup guide.