Once your platforms are added, open Event Manager inside your Business Manager and connect the app to your ad account:
👉 How to connect app to ad account
Make sure you're an admin of both the App and the Business Manager.
Why Facebook SDK Integration Matters
Proper SDK integration ensures Meta can:
- Optimize your campaigns more effectively
- Attribute installs and purchases correctly
- Improve ROAS through better delivery algorithms
✅ Meta’s Most Common Standard Events
Use standard events over custom ones when possible. They perform better in attribution and optimization.
- AddToCart
- AddToWishlist
- CompleteRegistration
- Contact
- InitiateCheckout
- Lead
- Purchase
- StartTrial
- Subscribe
👉 Full Meta Events Reference
SDK Integration Without MMP
If you're not using an MMP (like Adjust or AppsFlyer), you must implement Meta SDK event tracking directly.
Be sure to include value and currency when tracking revenue events.
Android – Facebook SDK Tracking
java
Copia
implementation 'com.facebook.android:facebook-android-sdk:[latest-version]'
FacebookSdk.sdkInitialize(getApplicationContext());
AppEventsLogger.activateApp(this);
AppEventsLogger logger = AppEventsLogger.newLogger(this);
Bundle params = new Bundle();
params.putDouble(AppEventsConstants.EVENT_PARAM_VALUE_TO_SUM, 19.99);
params.putString(AppEventsConstants.EVENT_PARAM_CURRENCY, "USD");
logger.logEvent(AppEventsConstants.EVENT_NAME_PURCHASED, params);
iOS – Facebook SDK Tracking
swift
Copia
pod 'FacebookSDK'
ApplicationDelegate.shared.application(
application,
didFinishLaunchingWithOptions: launchOptions
)
let params = [
AppEvents.ParameterName.currency: "USD",
AppEvents.ParameterName.valueToSum: 19.99
]
AppEvents.logEvent(.purchased, parameters: params)
✅ After implementation, wait 24–48 hours to verify events are tracked in Event Manager.
✅ You can run an app install campaign to confirm install events are working.
SDK Integration With MMP
Even when using an MMP, it’s still a good idea to log events in Meta SDK. Why?
Because Meta will:
- See events not just from paid, but also organic or cross-channel
- Learn better who is converting
- Optimize more effectively
Adjust Example
java
Copia
AdjustEvent event = new AdjustEvent("abc123");
event.setRevenue(19.99, "USD");
Adjust.trackEvent(event);
AppsFlyer Example
java
Copia
Map<String, Object> eventValues = new HashMap<>();
eventValues.put(AFInAppEventParameterName.REVENUE, 19.99);
eventValues.put(AFInAppEventParameterName.CURRENCY, "USD");
AppsFlyerLib.getInstance().logEvent(getApplicationContext(),
AFInAppEventType.PURCHASE, eventValues);
Connect MMP to Meta:
🔍 Important: Keep a test campaign live with a small budget, and after 3 days compare Meta event counts with your internal backend to ensure accuracy.