iOS App Tracking SDK for Conversion Tracking

Use this option to integrate a slim class for conversion tracking on iOS.

Download the latest iOS App Tracking SDK

Note: By downloading the App Tracking SDK for conversion tracking, you are agreeing to the terms and conditions in the license agreement in the source code. Please read the license agreement before using this product.

Step 1: Add the MMConversionTracking folder to your Xcode project.

Note: Please make sure to select “Copy Items to Destination” along with all appropriate targets when copying the MMConversionTracking files to your project.

Step 2: Add the following frameworks to your project.

  • AdSupport.framework
  • CoreTelephony.framework
  • Foundation.framework
  • SystemConfiguration.framework

Note: If your deployment target is less than iOS 6.0, change the AdSupport.framework from Required to Optional.

Step 3: Import MMConversionTracking.h in your App Delegate implementation (.m) file.

#import "MMConversionTracking.h"

Step 4: Add the conversion tracking code.

Add the conversion tracking code to your application:didFinishLaunchingWithOptions: method.

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{    
    [MMConversionTracking trackConversionWithGoalId:@"YOUR_APP_TRACKING_ID"];
    return YES;
}

Note: Place replace YOUR_APP_TRACKING_ID in the example above with the App Tracking ID surrounded by quotation marks (e.g., “12345”).

Don’t have an App Tracking ID? Go to mmedia.com to set one up by following these instructions, or contact your Account Manager or contact us to get an App Tracking ID.

For More Information