Meta
  • 08 Mar 2024
  • 3 Minutes to read
  • Dark
    Light

Meta

  • Dark
    Light

Article Summary

Tenjin and Meta SKAdnetwork Campaign setup

For iOS 14+ SKAdnetwork campaign setup with Tenjin, please see this page.

Meta deferred deep linking is not available for Meta iOS 14+ campaigns.

For Android, please use the tracking using Android referrer.

  1. Make sure you have already added Protocol in the App setting.

  2. Go to CONFIGURE -> Apps tab and select your app.

  3. Click + New Callback.

  4. Create BOTH Meta Install and Meta Deferred Deep link callbacks from the templates.
    image.png

  5. Enter the app_id for your app and hit SAVE CALLBACK for both Meta Install and Meta Deferred Deep link callbacks.

    image.png

  6. After you create a campaign in Tenjin, you will automatically see the deep link URL.

    image.png

  7. Go to your Meta Ads Manager and create your ad set. Use the Tenjin campaign name as your Meta ad set name. For example, it would say "iOS-US-male-Wordsearch @hB1zqEeYDeKgDPF6qvkq7O". You can give any name for the Meta campaign.

    image.png

  8. Create an Ad for the Meta ad set, and in the "Deferred deep link" field insert the Tenjin Deeplink you generated in step 6. You can use the same deep link url for multiple ads under the same ad set.

    image.png

  9. To redirect users to a specific place in your app, you can append any parameter and value to the deeplink generated in step 6 above. For example:

    Original Meta deferred deeplink:

    fb1423740114570310://?campaign_id=hB1zqEeYDeKgDPF6qvkq7O
    

    Meta deferred deeplink with a custom parameter/key:

    fb1423740114570310://?campaign_id=hB1zqEeYDeKgDPF6qvkq7O&creative_name=TEST
    

When there's an app install from your campaign, the entire deeplink url with the custom parameter will. be passed to the Tenjin SDK. The customized deeplink data can be fetched directly from the Tenjin SDK to handle any type of redirects within your app by following these instructions: iOS, Android, and Unity.


Tracking Android campaigns using referrer

Meta passes campaign metadata through Android referrer on the first app open, which can be used for attribution. More details are available in Meta's official documentation. In order to use referrer tracking, please follow the steps below.

  1. Ensure you are using the latest Tenjin SDK and implement the Android referrer. If Android referrer is implemented properly, you can see the green received mark in the app page.

    image.png

  2. Next, go to the Meta developer page, navigate to the App Settings -> Basic, and scroll down to the Android section. Copy the Install Referrer Decryption Key.

    image.png

  3. Go to the Apps page on the Tenjin dashboard and click edit. Paste the decryption key you copied in Step 2 under the Facebook referrer decryption key field.

    image.png

  4. Go to CONFIGURE -> Apps tab and select your app.

  5. Click + New Callback.

  6. Create Meta Install callback from templates.

    image.png

  7. Enter app_id for your app, and hit SAVE CALLBACK for Meta Install callback.

    image.png


How to set up App Event Optimization (AEO) campaigns in Meta

Show more

Run campaigns on standard events

  1. Go to the Tenjin Dashboard, CONFIGURE -> APPS, and select your app to set up the standard event callback to Meta.

  2. Select Meta standard custom event callback.

    image.png

  3. Select the event you want to pass to Meta. Please make sure you are already sending this event to Tenjin.

  4. Enter the Meta App ID and event name to map with Meta. The following 8 standard events are supported by Meta.

    image.png

  5. Then hit Save Callback. When Tenjin receives the custom event, this event will be sent to Meta. You can then see the event in the event manager page as shown below.

    image.png

  6. If you are setting up a campaign for iOS 14.5+, please set up SKAdnetwork configuration, by referring to our instructions here.

  7. Now you will be able to choose the standard events as shown below when you setup a bidding strategy for your campaign.

    image.png

Run campaigns on custom events (event defined by yourself)

  1. Go to the Tenjin Dashboard, CONFIGURE -> APPS, select your app to set up the manual custom event callback to Meta.

  2. Select Meta manual custom event callback.

    image.png

  3. Select the event you want to pass to Meta. Please make sure you are already sending this event to Tenjin.

  4. Input your Meta App ID, and event name to map with Meta. The name you input under Event Name will be displayed in Meta.

    image.png

  5. Then hit Save Callback.

  6. When Tenjin receives the custom event, this event will be sent to Meta. You can then see the event in the event manager page as below (you may need to filter by the event type on the right side).

    image.png

  7. Now, when you set up a bidding strategy for your campaign, you will be able to choose the custom events as shown below. (Note: this is not applicable to iOS 14.5+ campaign. For iOS 14.5+ campaign, please refer to above section)

    image.png

NOTE:

At least one standard event (non-install one) is required before you can run AEO campaigns based on custom events.



Was this article helpful?