Introduction
When adding an app to TrafficGuard, you will need to configure the mobile measurement platform (MMP), so TrafficGuard can send click data to the MMP and authorise the MMP to send us notifications for installs and events.
Appsflyer's Push API sends us all the required data points to conduct measurement & verification.
Prerequisites
You need to be an Appsflyer enterprise customer and have the Appsflyer SDK installed in your app.
TrafficGuard Portal
Open the TrafficGuard Portal
If you are an Agency user, select the organisation to which you want to add the app
Make sure you have added your apps under Properties & selected Appsflyer as the Input.
Go to Settings from the side navigation & grab the Organisation ID & Measurement API key.
Appsflyer Portal
Configure the push API endpoint from your Appsflyer dashboard. The below endpoint & instructions are for clients using Push API V2
π‘ Tip
Appsflyer Push API v1 has now been retired and anyone using Push Api v1 is recommended to migrate to Push API v2.
If you are still using v1, please contact [email protected] for the v1 endpoint URL.
On the Appsflyer dashboard, on the left hand menu, go to Integration > API Access. Scroll down to the Push API section. The Push API section displays.
βScroll down to the Push API section, Choose method - POST and click Add Postback. Enter the given URL in the Postback URL field (as shown below).
{IMAGE BROKEN}
βConfigure your postback URL
a. Replace the below fields with your Organisation ID and Measurement API key
b. Postback URL: https://integrate.trafficguard.ai/appsflyer/v2/postback/(org_id)/(API_Key)
c. Example
i. (org_id) - example_org
ii. (API_Key) - M2Qil6ZJgk
iii. Final URL should look like this - https://integrate.trafficguard.ai/appsflyer/v2/postback/example_org/M2Qil6ZJgk
4. Select the event types. Note! If the in-app event messages are disabled, it means no in-app events have been recorded yet.
β
5. Make sure to enable Organic
6. Select the correct events names
7. Select key in-app events in the user flow.
8. Click Save
The Push API is now active. Install & event data is sent to our endpoint URL.
Test the endpoint using the procedure that follows.
β
a. Click Send Test.
A test result message displays below the Send Test button.
A test message is sent to the endpoint.
β
b. Check that the endpoint received the test message.
A copy of the message sent will be displayed
Notify the TrafficGuard team once you have configured your endpoint. The team will make sure that it's been set up correctly.