Push notifications are undoubtedly a great way to keep your active and inactive users engaged. It keeps your users notified even when they are not using the App and as soon as your device blinks for the notification, the message appears on the status bar. Now, the question is how will you track the push notification sent from your end to APNs or GCM server and its open rate at the end user?
So, using Push Analytics provided by App42, you can easily track the open rate of the notifications that will help boosting engagement. Once the message gets delivered, you can track these either on Android or iOS.
Find the code snippet on notification listener:
App42API.BuildLogService().SetEvent("Message", "Delivered ", new UnityCallBack ());
public class UnityCallBack : App42CallBack
{
public void OnSuccess(object response)
{
// TODO Auto-generated method stub
}
public void OnException(Exception e)
{
// TODO Auto-generated method stub
}
}
On the contrary, you can set an event and track the number of messages opened by the user.
Put the following code snipped for user to open the message :
App42API.BuildLogService().SetEvent("Message", "Opened", new UnityCallBack ());
public class UnityCallBack : App42CallBack
{
public void OnSuccess(object response)
{
// TODO Auto-generated method stub
}
public void OnException(Exception e)
{
// TODO Auto-generated method stub
}
}
You can see the analytics for the same on AppHQ console, which gives a better insight on push notification campaign as shown :
Also, you can see push notification, which is not delivered on device by logging into AppHQ Management Console and select Push Notification >> Push Logs in the left panel.
If you have queries or need any further assistance, please feel free to reach us at support@shephertz.com
Leave A Reply