16

When you integrate the Facebook SDK to track Mobile App Installs, does this use the IDFA and hence do you have to answer yes to the corresponding question in iTunes Connect question when submitting the app for review?

This is the code in application:didFinishLaunchingWithOptions:

[FBSettings setDefaultAppID:FB_APP_ID_NSTRING];
[FBAppEvents activateApp];

In my Facebook dashboard, my app is configured with Yes under "Install Insights" and "Enable Enhanced Interest Targeting":enter image description here

The iTunes Connect question I refer to is shown here: enter image description here

There are plenty of questions here about IDFA, but none (as far as I could see) that clarifies whether using the Facebook SDK solely for Mobile App Installs does make use of the IDFA.

Clafou
  • 15,250
  • 7
  • 58
  • 89
  • 1
    Yes it uses IDFA for tracking Mobile App Installs. – WizKid Sep 23 '14 at 15:31
  • Thank you! Are you aware of any kind of reference in the Facebook documentation to support this assertion? I am confused as my app has been approved at least twice since I integrated Mobile App Installs, and until now I answered "No" to the IDFA question. – Clafou Sep 23 '14 at 15:40
  • Same boat - although in the next question which one did you pick ? This app uses the Advertising Identifier to (select all that apply): Serve advertisements within the app, Attribute this app installation to a previously served advertisement, Attribute an action taken within this app to a previously served advertisement – Vrashabh Irde Sep 16 '15 at 14:58
  • For the purpose of Mobile App Install tracking, I only selected "Attribute this app installation to a previously served advertisement" – Clafou Sep 17 '15 at 12:02

1 Answers1

21

Only under certain situations. See Facebook's FAQ:

Does Facebook’s SDK for iOS access the IDFA?

  • The Facebook SDK includes code to access Apple’s Advertising Identifier (IDFA), but that code is only executed in certain situations.
  • The Facebook SDK for iOS only accesses IDFAs in the following scenarios: 1) if your app serves ads within the app through Facebook’s Audience Network, or 2) if your app logs app installs or other mobile App Events in order to attribute those events to your ad campaigns.
  • If you are not logging App Events (via the FBAppEvents class), then the Facebook SDK is not accessing the IDFAs. Additionally, the Facebook SDK does not require AdSupport.framework to be included.
  • If you want to track App Events without collecting IDFA, you can disable IDFA collection within your app dashboard in the advanced setting section.
Matt
  • 2,329
  • 1
  • 21
  • 23
  • 2
    Thanks, glad to see they've documented this now. In my case I use `FBAppEvents.activateApp()` which tracks install events, so it's a yes to the iTunes Connect IDFA question. – Clafou Mar 20 '15 at 16:26
  • 1
    From the above answer - If I disable collection of IDFA from the Advanced settings. It should not collect, even though I log FB App Events, like installs. But, in the advanced settings, it states - Note: if you are running or have run Facebook mobile app ads in the previous 28 days, the IDFA will automatically be collected through the Facebook SDK, even if this setting is set to 'no'. Conflicting statements. Not sure which is applicable. I have Mobile ads running and log Events, but I have disabled IDFA collection from the settings. – kinshukkar Apr 26 '15 at 17:48
  • 2
    For app submission purposes on iTunes Connect, if you use the Facebook SDK, you need to answer "yes" to the IDFA question https://www.facebook.com/help/audiencenetwork/414857395387956 – daspianist Sep 05 '16 at 19:46
  • I use FBSDKCoreKit framework in my app to track events like app install and app launches for Ad campaign. I got below response from FB. No - Serve advertisements within the app Yes - Attribute this app installation to a previously served advertisement Yes - Attribute an action taken within this app to a previously served advertisement. (https://developers.facebook.com/support/bugs/219041122320629/?disable_redirect=0) – V V Dec 04 '18 at 17:10