App Events let you measure what users do inside your app and connect that data to your Facebook advertising campaigns. Events appear in Events Manager and Ads Manager where you can use them to build audiences, measure conversions, and optimise ad delivery.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/facebook/facebook-ios-sdk/llms.txt
Use this file to discover all available pages before exploring further.
Auto-logged events
The SDK automatically logs several events without any code changes:| Event | When it fires |
|---|---|
| App install | First launch after install |
| App launch / session | Each time the app becomes active |
| In-app purchases | Detected via StoreKit (Original API and StoreKit 2) |
FacebookAutoLogAppEventsEnabled key in your app’s Info.plist.
false to disable automatic event logging. When disabled, no events — including installs — are logged until you opt in explicitly.
Custom events
Beyond the standard set, you can log any event name that is meaningful to your app:Viewing events
Logged events appear in:- Events Manager — test and verify events in real time
- Ads Manager — use events as conversion goals and optimisation signals
- Audiences — build custom audiences from users who performed specific events
Next steps
Logging events
Log standard and custom events with parameters.
In-App Purchase events
Understand automatic StoreKit purchase tracking.