Automatic App Event Logging

When you use the versions of the Facebook SDK listed below, events related to user interaction with your app are collected automatically. You do not need to write any code to collect these events.

This applies to the following Facebook SDKs:

  • Facebook SDK for Android v4.19 (and higher)
  • Facebook SDK for iOS v4.19 (and higher)

Automatically Collected Events


App Install

The app install event is triggered the first time a new user activates an app. It is the same as the first app launch event for the app on a particular device.

This event cannot be disabled.

App Launch

The app launch event is triggered when the Facebook SDK is initialized. This happens for each application session.

Purchase (iOS only)

The purchase event is triggered when a purchase has been completed.

Disabling Automatic App Event Logging

If you do not want the Facebook SDK to collect app events automatically, you can disable automatic logging. If you have disabled automatic logging but still want to log specific events for Facebook Analytics, you must manually implement logging for these events in your app.