Menu

Meta App Events in Flutter for iOS: Setup, Tracking, and Attribution
πŸ“°

Meta App Events in Flutter for iOS: Setup, Tracking, and Attribution

DEV Community: mobileΒ·Michael Otieno OlangΒ·about 3 hours ago
#ozaCv2pV
#devtomobile#devto#dev#meta#events
Long article (2074 words) β€” no AI summary yet.
Reading 0:00
15s threshold

I had already added Meta App Events to the Android side of a Flutter booking app. Getting the same booking funnel onto iOS required more than copying the Dart calls: iOS needs its own native SDK, app delegate setup, URL handling, and privacy configuration.

The app uses a Flutter MethodChannel for both mobile platforms, but the iOS side maps those calls to Meta's native Swift SDK.

First, line up the IDs

ID What it identifies Where it belongs

Meta App ID The mobile app registered with Meta for Developers iOS SDK configuration and the app selected for an app campaign

Bundle ID The iOS app identifier Xcode target and the iOS platform settings in Meta for Developers

Ad Account ID The business account that runs campaigns Meta Business and Ads Manager; it does not go in the iOS SDK

Pixel ID A website data source Website Pixel or web Conversions API setup; it does not replace the mobile App ID

For this TRAVLER build, the bundle identifier is com.syn.ma3app , and the Meta App ID is 1320645970220890 .…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.