AB Tasty

Introduction

AB Tasty, 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 -

Android
// 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 -

IOS
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) }

 

 

Previous

Next

Was this article helpful?
0 out of 0 found this helpful

How can we improve this article?