AppsFlyer Sync
What Is AppsFlyer?
AppsFlyer is a global mobile marketing analytics and attribution platform that helps advertisers and developers measure and optimize their marketing campaigns. It provides real-time data and insights on app performance and user engagement, enabling clients to understand the effectiveness of their advertising sources. The platform supports a wide range of attribution solutions, including mobile attribution, marketing analytics, and deep linking across various channels and platforms. AppsFlyer’s technology integrates with numerous apps and ad networks, providing comprehensive tools for fraud prevention and data-driven decision-making. This helps businesses maximize their return on investment and refine their marketing strategies effectively.
Getting Started
From MetaRouter
To gather the appsFlyerId
, idfa
, and advertising_id
values, you must add an AppsFlyer sync.
- From the Pipelines page, find the pipeline associated with the web property you’d like to add a sync to. Hover over the three dot dropdown and select “Build AJS File.”
- In the Identity Syncs section, select the AppsFlyer sync.
- Fill out the following fields:
- Consent Type
- Cookie Lifetime (in days) - 365 default and recommended
- Scroll down and click the Save and Build File button.
- Deploy your AJS file to propagate changes to your web property.
Technical Details
Sync Types
syncType: urlParams
Sync Ids
ids: appsFlyerId, idfa, advertising_id
UrlSync
- The sync captures the values of all URL parameters listed below and stores them in storage using the format
*_appsFlyer_{urlParamName}
, retaining each value for the duration specified by thecookieTimeToLive
setting in the UI. - These storage marker(s) will be updated with the new value and reset to the full duration whenever the corresponding URL parameter(s) are detected again.
- Consequently, all server-side events will be enhanced with the
context.providers.appsFlyer
object as detailed in "Server-Side Event Payload" section.
URL Parameters
- appsFlyerId
- idfa
- advertising_id
Conclusions
Values added to storage
*_appsFlyer_appsFlyerId
- Time to live: Set by the Cookie Lifetime setting in the UI(e.g. 365 days). Defaults to 365 days.
- Notes: N/A
*_appsFlyer_idfa
- Time to live: Set by the Cookie Lifetime setting in the UI. Defaults to 365 days.
- Notes: N/A
*_appsFlyer_advertising_id
- Time to live: Set by the Cookie Lifetime setting in the UI. Defaults to 365 days.
- Notes: N/A
Server-Side Event Payload: providers
object enrichments
providers
object enrichmentsUpon completion of all vendor's sync, the server-side events will incorporate all resolved identifiers as described above. The following object will be appended to the context.providers
property within the event's JSON payload
{
"appsFlyer": {
"appsFlyerId": String
"idfa": String
"advertising_id": String
}
}
UI build settings
- (Required) Cookie Lifetime (in days)
- Defines the duration after which a stored value is automatically removed from storage unless renewed. When this time expires, the corresponding storage marker is deleted.
- Example:
365
Updated 3 months ago