Skip to main content

Stringboot’s A/B testing engine works seamlessly on iOS.

How It Works

1

Assignment

The SDK assigns a unique Device ID and determines the user’s variant.
2

Delivery

SBText, SBLabel, and StringProvider.get() automatically return the variant string.
3

Tracking

You log the assignment to your analytics provider.

Analytics Integration

To track experiment performance, implement the StringbootAnalyticsHandler protocol.
1

Implement Analytics Handler

Create a class conforming to StringbootAnalyticsHandler. Choose your analytics provider below:
2

Register Handler

Pass the handler during initialization:

Debugging

You can inspect active experiments: