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
- UPM
- Manual
Follow this guide to configure you Meta app.
Go to Appodeal → Appodeal Settings → Facebook Settings and tick Enable auto configuration.
For Android:
- Enter your App ID
- Enter your Facebook Client Token
For iOS
- Enter your App ID
- Enter your Facebook Client Token
- Follow this guide to configure you Meta app.
- Add the following keys for each platform:
For Android:
- Add your App ID
- Add your Facebook Client Token
Add a meta-data
elements to the application element in your AndroidManifest.xml
file:
<application ...>
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="fbYOUR_FACEBOOK_APP_ID" />
<meta-data
android:name="com.facebook.sdk.ClientToken"
android:value="YOUR_FACEBOOK_TOKEN" />
</application>
For iOS:
- Add your App ID
- Add your Facebook Client Token
Configure the Info.plist
file with an XML snippet that contains data about your app.
- Right-click
Info.plist
, and choose Open As ▸ Source Code. - Copy and paste the following XML snippet into the body of your file (
<dict>...</dict>
).
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>fbAPP-ID</string>
</array>
</dict>
</array>
<key>FacebookAppID</key>
<string>APP-ID</string>
<key>FacebookClientToken</key>
<string>CLIENT-TOKEN</string>
<key>FacebookDisplayName</key>
<string>APP-NAME</string>
On Facebook Developer: choose your application → Settings → Advanced → Client Token
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 app as a reference project.
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.