Edit in GitHubLog an issue

Troubleshooting Campaign push notifications

To set up server key/APNS server certificate in the Campaign Standard instance, complete the following steps:

Set up a server key

  1. To configure the app in Google Firebase, see Firebase Console and sign in using your Google Developer credentials.

  2. Add a project and add your app under that project using the application ID that you used in the app.

    For more information, see Add Firebase to your Android project.

  3. Add the generated "google-service.json" to the project and set up the project and module level gradle files.

    For more information, see Add Firebase to your Android project.

  4. Verify that Firebase server key is configured in the Campaign instance by clicking Adobe Campaign > Administrator > Channels > Mobile App (AEP SDK).

  5. Select the mobile app from the list and verify that the push channel settings status for Android is Android key set up success.

    Server key configuration in Android

For more information about configuration, see Channel specific application configuration in Adobe Campaign.

Set up an Android or iOS app to receive push notifications

Set up the Android app

  1. Create the Firebase Messaging Service and add it to the Android Manifest file.

    For more information, see Set up a Firebase Cloud Messaging client app on Android.

  2. Generate a push token for the app using FireBase Instance ID class.

  3. In the onComplete function of OnCompleteListener, set the Push identifier by calling the API MobileCore.setPushIdentifier.

    For more information, see setPushIdentifier.

Verify that the push token has successfully synced with the Experience Cloud ID service

If SDK privacy status is optedout, the push identifier will not be set.

  1. Verify the push token sync with the Experience Cloud ID service (ECID).

  2. To verify, launch your app connected to an Adobe Experience Platform Assurance session.

  3. In the list of events, verify that you have an event with type SetPushIdentifier.

  4. In the details panel on the right, verify the value of the push token for this device. The value in pushIdentifier is the same value that is sent to the ECID service. Verify SetPushIdentifier event

  5. To verify that app's push token is mapped to the correct Experience Cloud ID (ECID) in the Campaign instance, click Adobe Campaign > Administrator > Channels > Mobile App (AEP SDK).

  6. Select your app, under the mobile application subscribers verify that the Experience Cloud ID and the Registration token for the user is displayed. App subscriber list, verify mid and push token

  7. If you are using Charles, verify that the push token has successfully synced with the ECID service.

  8. Check for the demdex request, which is marked with the red line in the screenshot below.

  9. Verify the successful response(200) for this network call.

    ECID network request for push token sync

Troubleshooting push notification events tracking

The following events are related to the tracked push notifications:

  • Impression: Notification is delivered.
  • Click: User clicked the notification.
  • Open: App opened in response to user's click on notification.

For more information about implementing the tracking of push notification events, see Implementing Push Tracking.

Troubleshooting using Adobe Experience Platform Assurance

You can verify the push notification tracking in Assurance.

  1. Connect your app to an Assurance session.
  2. Send a push notification to app from your Campaign instance.
    To know more about how to send push notification, see Preparing and sending a push notification.
  3. Receive a push notification in the device.
  4. Click on the push notification to launch the app.
  5. In the list of events, verify that you have an event with type CollectData.
  6. In the Details panel on the right, verify the value of the action.
    The value of the action should be 7 for impression, 2 for the click, and 1 for open.

Impression event tracking (action value 7)

Impression event tracking

Click event tracking (action value 2)

Click event tracking

Open event tracking (action value 1)

Open event tracking

Troubleshooting using Charles

To verify that a successful network call is made to track the push notification interaction event, look for the GET request with the query string id=broadlogID,deliveryID,action to the Campaign server. See the screenshots below for more details about what to look for.

Impression event tracking (action value 7)

Impression event tracking

Click event tracking (action value 2)

Click event tracking

Open event tracking (action value 1)

Click event tracking

Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.