Meta
Meta SDK (facebook-core) is used for UA (User Acquisition).
If you are integrating Meta to see UA metrics in our Dashboard, it will work only in connection with Adjust/AppsFlyer. To connect them, follow this guide for Adjust and this guide for AppsFlyer.
Meta connection
To connect Meta, follow the steps below.
Step 1. Import Meta
Meta SDK is already included in Appodeal SDK (facebook-core). You don't need to install it separately.
Step 2. Configure Meta App
-
You may follow this guide to configure you Meta app.
-
Open the /app/res/values/strings.xml file and add the following lines. Remember to replace [APP_ID] with your actual Facebook app ID:
<string name="facebook_app_id">[APP_ID]</string>
- Add a
meta-data
elements to the application element, you can get your Client Token and Facebook App ID using this guide:
<?xml version="1.0" encoding="utf-8"?>
<application ...>
...
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="YOUR_FACEBOOK_APP_ID"/>
<meta-data
android:name="com.facebook.sdk.ClientToken"
android:value="YOUR_FACEBOOK_TOKEN" />
...
</application>
Step 3. Enable Meta Tracking In Attribution Settings
- You need to go to your app settings in your Appodeal account and choose Attribution Settings.
- In Meta Settings enable Meta Tracking.
Demo Application
You can use our demo analytics app as a reference project.
Demo App
Track In-app Purchases
Tracks in-app purchase information and sends info to Appodeal servers for analytics. It allows users to group by the fact of purchasing in-apps. This will help you adjust the ads for such users or turn them off if needed. In order to track in-app purchases, please refer to this guide
Event Tracking
Appodeal SDK allows you to send events to analytic services such as:
In order to setup event tracking please refer to this guide.