Try   HackMD

Add app event tracker on ios app

step 1 -> step 5: configurate finished

steep 6

  • Connect Your App Delegate and Scene Delegate
// AppDelegate.swift import UIKit import FBSDKCoreKit @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? ) -> Bool { ApplicationDelegate.shared.application( application, didFinishLaunchingWithOptions: launchOptions ) return true } func application( _ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:] ) -> Bool { ApplicationDelegate.shared.application( app, open: url, sourceApplication: options[UIApplication.OpenURLOptionsKey.sourceApplication] as? String, annotation: options[UIApplication.OpenURLOptionsKey.annotation] ) } }

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

  • If you are using iOS 13 or above please add the following method to your SceneDelegate:
// SceneDelegate.swift func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) { guard let url = URLContexts.first?.url else { return } ApplicationDelegate.shared.application( UIApplication.shared, open: url, sourceApplication: nil, annotation: [UIApplication.OpenURLOptionsKey.annotation] ) }

step 7

  • add app event manually
/** * For more details, please take a look at: * developers.facebook.com/docs/reference/ios/current/class/FBSDKAppEvents */ - (void)logCompleteRegistrationEvent:(NSString *)registrationMethod { NSDictionary *params = @{FBSDKAppEventParameterNameRegistrationMethod : registrationMethod}; [FBSDKAppEvents logEvent:FBSDKAppEventNameCompletedRegistration parameters:params]; }

step 8

  1. Open the App Ads Helper
  2. In Select an App, choose your app and choose Submit
  3. Scroll the bottom and choose Test Event
  4. Start your app and send an event. The event should appear page