Meta SDK (facebook-core) is used for UA (User Acquisition).
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:
- Add a
meta-dataelements to the application element, you can get your Client Token and Facebook App ID using this guide:
<?xml version="1.0" encoding="utf-8"?>
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.
You can use our demo analytics 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
Appodeal SDK allows you to send events to analytic services such as:
In order to setup event tracking please refer to this guide.