Facebook Ads referral decryption

devtodev enables you to use Google Play platform to obtain data on installs driven by Facebook Ads campaigns. There are 2 ways to get this information:

  • From Google Play Store via devtodev SDK. The native Android SDK version 2.1.3 (Unity SDK 3.1.0) and above automatically sends data on installs driven by Facebook ads (when using Play Install Referrer Library).

  • From Appsflyer via postback (Appsflyer Push API).

The data we receive is encrypted, therefore, you need to decrypt it by using an Install Referrer Decryption Key, which is unique for each app. See Facebook documentation to learn more. We use the key to decrypt the information received from Facebook and convert it back to the original form so that we can use it in our reports.

In Meta, obtain the Install Referrer Decryption Key from your Meta for Developers account (Select your app -> Settings -> Basic -> Android). Copy the key.

In devtodev, go to your project settings (Settings -> 3rd party sources -> Attribution trackers -> Facebook Ads referral decryption) and insert the key.

If you don’t enter the Decryption Key in the app settings, then all the encrypted data sent by devtodev SDK will be discarded and can not be restored.

Last updated

Was this helpful?