# FacebookActivateAppTracking

## Description

Activates tracking in the Facebook SDK, this is useful if you are using Facebook Ads as this will associate installs to adverts previously seen and clicked on Facebook. Note that on iOS this functionality requires the IDFA (Advertising Identifier) and you must declare this if you submit the app to Apple. Apple will ask if you use the IDFA and what you use it for. For install tracking with Facebook Ads you MUST tick "Attribute this app installation to a previously served Advertisement" and "Attribute an action taken within this app to a previously served advertisement". If you are also using AdMob, Amazon Ads, or Chartboost in your app then you must also tick "Serve advertisements within the app".
This command does not require the user to be logged in.

## Definition

FacebookActivateAppTracking()

void agk::FacebookActivateAppTracking()