Before the start

Appsflyer is available for linking only with your own Appsflyer account with Premium Plan.

Appsflyer is a mobile marketing, analytics, and attribution platform.

With one connection of Appsflyer you will be able to see all UA metrics directly in our BI, without using MMP, analyze them in various sections, and also get access to LTV forecasting.

Note that we also support forecast metrics, which will be available by default with the current integration.

Appsflyer integration steps

To connect with Appsflyer, follow the steps:

Step 1: Check needed features

Make sure you have a following features:

  • Datalocker. Data Locker writes your report data to cloud storage for loading into your BI systems.
  • Master API. Get selected LTV, activity, Protect360, and retention campaign performance KPIs by API, in CSV or JSON format. Select 1 or more apps.

These features are available on Appsflyer Premium Plan.

Step 2: Import Appsfyer

Complete all the steps from our integration guide. Make sure to integrate Appsflyer distributed via Appodeal SDK.

Step 3: Contact us

Contact our support team via live chat or via email support@appodeal.com and send us your Datalocker and Master API. We will provide you with further steps.

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 to group users by the fact of purchasing in-apps. This will help you adjust the ads for such users or simply turn it off, if needed. To make this setting work correctly, please submit the purchase info via Appodeal SDK.

#if UNITY_ANDROID
            var additionalParams = new Dictionary<string, string> { { "key1", "value1" }, { "key2", "value2" } };

            var purchase = new PlayStoreInAppPurchase.Builder(PlayStorePurchaseType.Subs)
                .WithAdditionalParameters(additionalParams)
                .WithPurchaseTimestamp(793668600)
                .WithDeveloperPayload("payload")
                .WithPurchaseToken("token")
                .WithPurchaseData("data")
                .WithPublicKey("key")
                .WithSignature("signature")
                .WithCurrency("USD")
                .WithOrderId("orderId")
                .WithPrice("1.99")
                .WithSku("sku")
                .Build();

            Appodeal.ValidatePlayStoreInAppPurchase(purchase, this);
#elif UNITY_IOS
            var additionalParams = new Dictionary<string, string> { { "key1", "value1" }, { "key2", "value2" } };

            var purchase = new AppStoreInAppPurchase.Builder(AppStorePurchaseType.Consumable)
                .WithAdditionalParameters(additionalParams)
                .WithTransactionId("transactionId")
                .WithProductId("productId")
                .WithCurrency("USD")
                .WithPrice("2.89")
                .Build();

            Appodeal.ValidateAppStoreInAppPurchase(purchase, this);
#endif

Event Tracking

Appodeal SDK allows you to send events to analytic services such as Firebase, AppsFlyer, Adjust and Meta using a single method:

Appodeal.LogEvent("appodeal_sdk_test_event");

Send events with params if required.

Appodeal.LogEvent("logEventWithParams",
    new Dictionary<string, object>
    {
        { "testKey1", "testParam1" },
        { "testKey2", 42 },
        { "testKey3", 0.42d }
    });


Please note:

Event parameters can only be strings and numbers.