> ## Documentation Index
> Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# AB Tasty

# Introduction

[AB Tasty](https://www.abtasty.com/), one of MoEngage's Technology Partners enables you to run your product a/b/multivariate experiments on your website, app, features and so much more. You can run these experiments through AB Tasty and analyze the results in MoEngage.

# Analyzing the results of the experiment in MoEngage

To analyze the results of your experiments in MoEngage, you need to setup the data tracking for MoEngage as shown below -

## Android

On your Android app, setup the callbacks as shown below -

```java wrap theme={null}
// Flagship campaign activation
Flagship.Companion.activateModification("my_flag")

// Get Flagship campaign information, map it, and send it to Segment
JSONObject json = Flagship.Companion.getModificationInfo("my_flag");
        if (json != null) {
            Iterator<String> iterator = json.keys();
            Properties properties = new Properties();
            while (iterator.hasNext()){
                String name = iterator.next();
                properties.addAttribute(name, json.opt(name));
            }
            MoEHelper.getInstance().trackEvents("Flagship_Source_Java", properties);
        }
```

## iOS

On your iOS app, setup the callbacks as shown below -

```swift wrap theme={null}
if let campaign_info = Flagship.sharedInstance.getModificationInfo(key:"my_flag") {
    let campaignInfoDict = NSMutableDictionary.init(dictionary: campaign_info)
    let properties = MOProperties.init(attributes: campaignInfoDict)
    MoEngage.sharedInstance().trackEvent("Flagship_Source_ios", with: properties)
}
```
