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];
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.
Install tracking is automatically enabled in Analytics for Android apps. You don't have to do anything!
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.
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];
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With