Stringboot includes a native A/B testing engine that allows you to test different string variations without changing your code.
How It Works
1
Assignment
The SDK generates a unique Device ID and assigns the user to an experiment variant (e.g., “Control”, “Variant A”).
2
Delivery
When you request a string (e.g.,
StringProvider.get("cta_button")), the SDK automatically returns the text for the assigned variant.3
Tracking
You log the assignment to your analytics provider to track conversion.
Setup
No additional code is required to run the experiment. The SDK handles variant delivery automatically. To track the experiment, follow these steps:1
Implement Analytics Handler
Create a class implementing
StringbootAnalyticsHandler. Choose your analytics provider below:- Firebase
- Mixpanel
- Amplitude
2
Register Handler
Pass the handler during initialization: