Measuring Push Notification Re-Engagement Campaigns

This article is intended for customers who want to measure re-engagement campaigns using push notifications.

This solution enables the presentation of the results of a push-notification campaign in AppsFlyer's Re-Targeting dashboard. The conversion is defined as an app open originating from a push notification message.

Minimum Requirements - AppsFlyer SDK:

  • iOS – version 4.3.5 and above  

NOTE:  For details of how to integrate push notification tracking into your app, refer to the Push Notification Measurements (Optional) section of the iOS SDK Integration Guide.

Setting up a Push Notification Campaign

AppsFlyer supports the measurement of push notification campaigns from all vendors and can also support developers who use Google Cloud Messaging or Apple push notification services directly.

The following parameters are inserted into the Push notification payload. These parameters must appear in an "af" object, as shown in the examples below:

  • C – the name of the campaign
  • is_retargeting=true – this parameter enables AppsFlyer to recognize a re-targeting campaign
  • pid= the media source which in this case is the push notification provider (e.g mixpanel_int, urbanairship_int, swrve_int)

A list of available parameters can be found in the following link:

AppsFlyer Tracking Link Structure and Parameters

The solution is indifferent to the push provider:

The APNS payload appears as follows:

Payload example:

    af =     {
        c = "test_campaign";
        "is_retargeting" = true;
        pid = "push_provider_int";
    aps =     {
         alert = "Get 5000 Coins";
         badge = 37;
         sound = default;

Payload example for different vendors:

Urban Airship API:

"audience": "all",
"notification": { "alert" : "A broadcast message" ,
"extra": {
"af": {
"device_types": "ios"

For more information please refer to:

Swrve API:

"af": "\"pid\":\"swrve_int\",\"is_retargeting\":true,\"c\":\"test_campaign\""

For more information please refer to:

Mixpanel API:

Refer to:

Localytics API:

For iOS refer to:

For Android refer to:

Leanplum API:

Refer to:

Adobe Analytics (Omniture) API:

Refer to:

Appoxee (Teradata) API:

Refer to:

Upsight API:

Refer to:

Omniata API:

Refer to:


Refer to:

Kahuna API:

Refer to:

Accengage API:

Refer to: iOS, Android

For further information about AppsFlyer re-targeting solution refer to the following article:

AppsFlyer's Re-Targeting Attribution

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request
Powered by Zendesk