@interface MPAdConversionTracker : NSObject
MPAdConversionTracker class provides a mechanism for reporting application download (conversion) events to MoPub. This type of tracking is important for measuring the effectiveness of cross-promotional and Direct Serve advertising.
To track application downloads, get a reference to the shared instance of this class using the
sharedConversionTracker method. Then, in your application delegate’s
application:didFinishLaunchingWithOptions: method, call the
reportApplicationOpenForApplicationID: method on the shared instance. With this call in place, the conversion tracker will report an event to MoPub whenever the application is launched on a given device for the first time. Any subsequent launches will not be recorded as conversion events.
Methods for Recording Conversions
Description: Returns the shared instance of the
+ (MPAdConversionTracker *)sharedConversionTracker;`
Description: Notifies MoPub that a conversion event should be recorded for the application corresponding to the specified
appID. A conversion event will only be reported once per application download, even if this method is called multiple times. The easiest way to find the correct ID for your application is to generate an iTunes URL using the iTunes Link Maker, and then extract the number immediately following the “id” string. For example, the iTunes URL for the “Find My Friends” application is
https://itunes.apple.com/us/app/find-my-friends/id466122094, so its application ID is
- (void)reportApplicationOpenForApplicationID:(NSString *)appID;`
appID: An iTunes application ID.
Last updated March 03, 2020
TWITTER, MOPUB, and the Bird logo are trademarks of Twitter, Inc. or its affiliates. All third party logos and trademarks included are the property of their respective owners.
© 2020 MoPub (a division of Twitter, Inc.)