Set up app events and attribution for a mobile app

Register the app with Meta and send install and in-app events through the Meta SDK or a measurement partner, so an app-install campaign you run in Ads Manager can be measured.

On this page

Half a day of engineering, then a release on each store before the first install is attributed.

Madder’s campaigns send people to a web page, so it offers no install goal and no place for an app ID; you set this up in Meta and in your app.

Before you start#

  • The app is live (or in TestFlight / internal testing) on the App Store or Google Play.
  • A business portfolio with the ad account, and a Meta developer account with access to it.
  • A decision on measurement: Meta SDK alone, or a mobile measurement partner (MMP) such as AppsFlyer, Adjust, Branch or Singular. Use an MMP if you advertise on more than one platform.

1Register the app in the App Dashboard#

Paths as of September 2026:

  1. developers.facebook.com › My Apps › Create App. Enter the app name and contact email, click Next.
  2. Pick the use case that includes app ads, then connect the app to your business portfolio when asked.
  3. In the app’s dashboard add each platform under Settings › Basic › Add platform: bundle ID and App Store ID for iOS, package name and key hashes for Android.
  4. Switch the app from development to “Live” mode. Ads cannot deliver to an app in development mode.

2Send events with the SDK or an MMP#

Meta SDK
Add the iOS or Android SDK, initialize it with the app ID, and let it log Activate app automatically; log in-app events (Complete registration, Start trial, Purchase) at the moment they happen. No SDK means Meta optimizes toward link clicks, not installs.
MMP
Install the partner’s SDK instead and enable its Meta integration; the partner forwards installs and events to Meta.

Either way, pick one in-app event (registration, trial) as the campaign’s optimization event.

3Configure iOS attribution (SKAdNetwork / AEM)#

In Events Manager open the app › Settings › SKAdNetwork and configure the conversion schema so the events in step 2 map to conversion values; Meta recommends a 24-hour window.

4Verify before launch#

Events Manager › app › Test events, install a test build, open it, and watch Activate app arrive.

Realistic timelines#

  • App Dashboard and SDK integration: hours.
  • Store review of the build with the SDK: as long as each store takes.
  • First Android install attributed: same day as the first click.
  • First iOS install via SKAdNetwork: Apple delays postbacks by at least 24 hours, sometimes much longer, so day-one iOS figures look low.

If it doesn’t work#

Events Manager shows no app events
App still in development mode, wrong app ID in the SDK init, or the MMP’s Meta integration is disabled.
Android installs arrive, iOS none
SKAdNetwork schema not configured, or the SDK version predates SKAdNetwork support.
Meta reports installs, the MMP reports none
The MMP’s attribution window or its Meta integration is off. Fix it before you judge the campaign on either number.