Track Facebook app installs through ads Track Facebook app installs through ads ios ios

Track Facebook app installs through ads


While reverse engineering some Tracking frameworks I found that most of them are getting the Facebook Attribute ID (Advertiser ID) from the pasteboard. It seems that Facebook is setting that after the ad is touched.

I couldn't find any documentation but the Facebook SDK has a class FBUtility with an attributionID class method.

+ (NSString *)attributionID {    return [[UIPasteboard pasteboardWithName:@"fb_app_attribution" create:NO] string];}