Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Track Facebook app installs through ads

Tags:

ios

facebook

ads

We are looking for a way to track if the current user comes from a Facebook ad. Is there a way to achieve that?

We need to set this info in our database in order to make queries on these people (cohorts).

I found some similar questions :

  • Here

  • And here.

We are not looking for external services, we need to have this info in our database to create cohorts.

P.S: We are already tracking installs with [FBSettings publishInstall:FACEBOOK_APP_ID];

like image 973
vdaubry Avatar asked May 28 '13 07:05

vdaubry


People also ask

How do I track app installs from Facebook ads?

There are two ways to access these insights. First is through a table view. Select List Settings within Ads Manager and include these post-install results as part of your campaign columns. You can view these insights in the main table view across install cohort dates based on the date range chosen.

Can you track app installs?

Install tracking is automatically enabled in Analytics for Android apps. You don't have to do anything!

What are Facebook app install ads?

App ads allow you to promote your app across Facebook, Instagram and Meta Audience Network. You can create app ads from Ads Manager or with the support of a Meta Business Partner, who can help you create, optimize and measure your app ads.


1 Answers

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];
}
like image 137
fz. Avatar answered Oct 19 '22 02:10

fz.