Facebook analytics

Facebook analytics uses AnalyticsEvent.VERSION_2. To add it to your app you need to:

  1. Include the Facebook analytics module to your build.gradle.
    implementation ("com.poqstudio:analytics.facebook:$VERSION_NAME")
  2. Add your Facebook application id and client id to your manifest.
    <application android:label="@string/app_name" ...>
    ...
    <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>
    <meta-data android:name="com.facebook.sdk.ClientToken" android:value="@string/facebook_client_token"/>
    ...
    </application>