StandardEventLogging extension

Convenience wrappers for Meta's remaining predefined standard events.

Each method routes through FacebookAppEvents.logEvent with the correct standard event name and parameters, so there is no additional native code: the behavior is identical to calling logEvent directly with the matching eventName* constant.

See standard events.

on

Methods

logAchievedLevel({String? level, Map<String, dynamic>? parameters}) Future<void>

Available on FacebookAppEvents, provided by the StandardEventLogging extension

Log this event when the user reaches a level in the app.
logAddedPaymentInfo({Map<String, dynamic>? parameters}) Future<void>

Available on FacebookAppEvents, provided by the StandardEventLogging extension

Log this event when the user adds payment information.
logCompletedTutorial({String? contentId, Map<String, dynamic>? parameters}) Future<void>

Available on FacebookAppEvents, provided by the StandardEventLogging extension

Log this event when the user completes the app's tutorial flow.
logContact({Map<String, dynamic>? parameters}) Future<void>

Available on FacebookAppEvents, provided by the StandardEventLogging extension

Log this event when the user contacts your business.
logCustomizeProduct({Map<String, dynamic>? parameters}) Future<void>

Available on FacebookAppEvents, provided by the StandardEventLogging extension

Log this event when the user customizes a product.
logDonate({double? valueToSum, String? currency, Map<String, dynamic>? parameters}) Future<void>

Available on FacebookAppEvents, provided by the StandardEventLogging extension

Log this event when the user donates funds.
logFindLocation({Map<String, dynamic>? parameters}) Future<void>

Available on FacebookAppEvents, provided by the StandardEventLogging extension

Log this event when the user locates one of your physical locations.
logSchedule({Map<String, dynamic>? parameters}) Future<void>

Available on FacebookAppEvents, provided by the StandardEventLogging extension

Log this event when the user schedules an appointment.
logSearched({String? searchString, String? contentType, Map<String, dynamic>? parameters}) Future<void>

Available on FacebookAppEvents, provided by the StandardEventLogging extension

Log this event when the user performs a search in the app.
logSpentCredits({double? valueToSum, String? currency, String? contentType, String? contentId, Map<String, dynamic>? parameters}) Future<void>

Available on FacebookAppEvents, provided by the StandardEventLogging extension

Log this event when the user spends in-app credits.
logSubmitApplication({Map<String, dynamic>? parameters}) Future<void>

Available on FacebookAppEvents, provided by the StandardEventLogging extension

Log this event when the user submits an application (e.g. job, loan).
logUnlockedAchievement({String? description, Map<String, dynamic>? parameters}) Future<void>

Available on FacebookAppEvents, provided by the StandardEventLogging extension

Log this event when the user unlocks an achievement.