简体   繁体   中英

How facebook measure app installs - Android/IOS

Facebook ads has a feature that it can knows how many apps are installed from advertising in facebook https://developers.facebook.com/docs/ads-for-apps/mobile-app-ads#advanced

I know google provide referrer/campaign feature to detect which campaigns, websites, and other apps are referring users to Google Play Store to download my app https://developers.google.com/analytics/devguides/collection/android/v4/campaigns#overview . But when I see facebook sdk(android) source code, it doesn't use google campaign mesurement, so which technique it use to measure app installs? And can My app knows if it is installed from advertising in facebook or not(with google campaign, my app can catch the intent after installing and get referrer information to know utm_source)

I did a research on this back in Q4/2015 and have found no way to manually track Facebook install ads in Google Analytics, because Facebook overrides the referrer field, which you'd read from INSTALL_REFERRER intent.

The only official info on this I was able to find is this question on FB help page

We do not support install tracking for web apps not hosted on facebook.com , but you could try using URL tags in order to track specific landing destinations within your app through a third-party analytics platform. Learn more here: https://www.facebook.com/business/help/1016122818401732/?ref=u2u

As an alternative, you can register your app with the Facebook SDK and measure your app installations that way. You can find out how to do that in this developer's guide: https://developers.facebook.com/docs/app-ads/measuring/?ref=u2u

As stated in the first paragraph, there are Facebook's measaurement partners , offering solutions for automating the measurement and pairing the data with your campaigns.

These partners have exclusive access to FB data and are able to track your installs (and generally any in-app activity) from ads.


In theory, if you're the app developer, you can try filling some arbitrary data (not UTM tags) into your ads' url_tags and check if it gets propagated to your app upon install (or deeplinking). If you're able to read the data in the app, you should be able to manually track the event in Google Analytics. But to use this in practice would mean tagging each ad with some unique value and then pairing it with app event. Which is basically what measurement partners do, but way more difficult, because you don't have the data they have.

Facebook analytic provide that type to show how munch your application install that for use this link and follow steps..

here you have to must register your application on facebook devloper and impliment facebook sdk on your application.

For install check set below code on onResume method with particulate Activity class.

@Override
protected void onResume() { 
super.onResume(); 
//For event in update your app install count..
AppEventsLogger.activateApp(this); 
}

Facebook event page in you can get count after some time on app installation.

follow below screenshot

Facebook SDK的简化 更改清单文件和字符串资源文件 在Activty类中编写代码

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM