githubEdit

AppsFlyer Mobile Events API

Appsflyerarrow-up-right's platform is used by businesses to understand how users find and interact with their apps. Using this destination you can leverage AppsFlyer Server-to-Server Events APIarrow-up-right to send mobile events to AppsFlyer for your Android or iOS applications.

Key features

The AppsFlyer Mobile Events API destination provides the following key features:

  • Events structure: our Events referencearrow-up-right supports AppsFlyer's event structurearrow-up-right, meaning that your data is properly bridged to the expected fields in an optimized way.

  • Prebuilt mappings: data mapping for event-based destinations happens automatically, which simplifies user inputs.

  • Custom events and properties: you can freely push custom events and properties based on your specific needs.

  • Smart mapping: data mapping can be readjusted using your datalayer defined fields.

Destination setup

circle-info

Ensure your app is registered in AppsFlyerarrow-up-right under My Apps .

Configuration

Settings
Description

Token

Required Your authorization S2S token. You can find its value in the AppsFlyer's dashboardarrow-up-right.

Application Id

Required Your application identifier (app-id). You can find its value in the AppsFlyer's dashboardarrow-up-right under SettingsMy Apps → mouse over just below your app name → click Copy app id .

AppsFlyer Id

Required A unique identifier, generated by AppsFlyer, when the app launches for the first time. More details are available by following this LINKarrow-up-right.

Event Mapping

Change the standard mapping between AppsFlyer events and yours or add new mappings.

Custom Data Mapping

Map your custom parameters by setting their field names in AppsFlyer parameter and adding the value in Your value.

Quick reference

Commanders Act Events
AppsFlyer Events

achievement_unlocked

af_achievement_unlocked

ad_click

af_ad_click

ad_view

af_ad_view

add_payment_info

af_add_payment_info

add_to_cart

af_add_to_cart

add_to_wishlist

af_add_to_wishlist

app_opened

af_app_opened

sign_up

af_complete_registration

view_item

af_content_view

begin_checkout

af_initiated_checkout

invite

af_invite

generate_lead

lead

level_achieved

af_level_achieved

view_item_list

af_list_view

login

af_login

notification_open

af_opened_from_push_notification

in_app_purchase purchase

af_purchase

submit_rating rate

af_rate

re_engage

af_re_engage

view_search_results

search

af_search

share

af_share

spend_virtual_currency

af_spent_credits

spent_credits

af_spent_credits

start_trial

af_start_trial

subscribe

af_subscribe

travel_booking

af_travel_booking

ecommerce_purchase

af_travel_booking

tutorial_complete

af_tutorial_completion

app_update update

af_update

[Any Event]

[Any Event] [1]

circle-info

1. See Event Mapping in Configuration.

Field mappings

circle-info

Properties can be remapped using our Smart Mappingarrow-up-right feature.

Smart Mapping Field
Commanders Act Default Properties
AppsFlyer Properties

-

AppsFlyer Id

appsflyer_id [*]

-

(event_name)

eventName [*][1]

Event Timestamp

context.event_timestamp

eventTime

User Id

user.id

customer_user_id

Device IP

context.device.ip

ip

Event Value

value

af_revenue [2]

Content Type

partners.appsflyer.content_type

af_content_type [2]

Content Identifier

partners.appsflyer.content_id

af_content_id [2]

Custom Attribute

partners.appsflyer.your_custom_attribute

your_custom_attribute [2]

App Version

context.app.version

app_version_name

App Store

partners.appsflyer.app_store

app_store

Currency

currency

eventCurrency

App Namespace

context.app.namespace

bundleIdentifier

Sharing Filters

partners.appsflyer.sharing_filters

sharing_filter

Is App Clip

(partners.appsflyer.is_app_clip)

app_type [3]

-

Custom Data Mapping

custom_data

Device OS Name

context.device.os.name

os

Device User Agent

context.device.user_agent

ua

Ad Tracking Enabled

(context.device.ad_tracking_enabled)

aie [4]

Device Mobile Identifier

context.device.advertising_id

advertising_id idfa

Open Advertising Id

partners.appsflyer.oaid

oaid

Amazon Advertising Id

partners.appsflyer.aid

amazon_aid

International Mobile Equipment Identity

partners.appsflyer.imei

imei

App Set Id Scope

partners.appsflyer.app_set_id_scope

app_set_id.scope

App Set Id

partners.appsflyer.app_set_id

app_set_id.id

Device IDFV

context.device.idfv

idfv

iOS ATTrackingManager Status

partners.appsflyer.att

att

TCF String

partners.appsflyer.tcf_string

tcf.tcstring [5]

TCF Policy Version

partners.appsflyer.tcf_policy_version

tcf.policy_version [5]

CMP SDK Identifier

partners.appsflyer.cmp_sdk_id

tcf.cmp_sdk_id [5]

CMP SDK Version

partners.appsflyer.cmp_sdk_version

tcf.cmp_sdk_version [5]

GDPR Applies

partners.appsflyer.gdpr_applies

manual.gdpr_applies [5][6] tcf.gdpr_applies [5][6]

Ad User Data Enabled

partners.appsflyer.ad_user_data_enabled

manual.ad_user_data_enabled [5]

Ad Personalization Enabled

partners.appsflyer.ad_personalization_enabled

manual.ad_personalization_enabled [5]

circle-info

* Mandatory property. 1. See Quick reference for more details. 2. Set in the property eventValue . 3. Set with app_clip if partners.appsflyer.is_app_clip is true . 4. Set with the opposite value in context.device.ad_tracking_enabled . 5. Set in the property consent_data . 6. These fields are mutually exclusive .

Last updated

Was this helpful?