Hi! I would like to better understand how to differentiate between "push clicks" and "push opens" in the AJO Push Tracking dataset. I see that the pushTracking.applicationOpened event tracks when a user opens the application from a push notification. However, even when users interact and click within the app, I don't see any other event types captured in the dataset. Could you help clarify this?
Also what's the definition and difference between push open and push clicks?
Thanks!
Views
Replies
Total Likes
Hello @Silvio6 ,
In your scenario, The push notification is clicked and app launched. so it is captured as Push Open.
try, sending push notification and don't click instead swipe to clear and see whether push click is capturing or not.
Thanks
AJODev
ok, but there's no "pushNotification.click" eventType or something like that?
Views
Replies
Total Likes
I believe yes, There is no default event type like pushNotification.click in Mobile SDK. we have to implement custom events like
ACPCore.trackAction("pushNotification.click", {
"pushTracking.messageId": "<messageId>"
});
correct me if am wrong.
Thanks
AJODev
Views
Replies
Total Likes
The push open event is actually sent by default under the eventType field as pushTracking.applicationOpened (as per this doc https://experienceleague.adobe.com/en/docs/experience-platform/xdm/classes/experienceevent#accepted-...) but which is the eventType related to push clicks? Or how do they need to be configured and implemented to get actually sent ?
Views
Replies
Total Likes
any news on this? which is the eventType related to push clicks? Or how do they need to be configured and implemented to get actually sent ?
Views
Replies
Total Likes
Hello @Silvio6 I would suggest testing it against an actual device and don't believe what is mentioned in the documentation. Push Open/Clicks behavior will also change based on if the app is in foreground vs background.
Views
Replies
Total Likes
Hi @Silvio6,
Were you able to resolve this query with the given solution or was this something you were able to figure out on your own or do you still need help here? Do let us know.
Thanks!
Views
Replies
Total Likes
well I'm not finding anything related custom code to add to mobile app custom actions clicks. Is there any doc regarding that? Thanks.
Views
Replies
Total Likes
@Silvio6
Please reach out to your Mobile app developer team, they will help to create those custom actions clicks.
Reference :
class NotificationActionReceiver : BroadcastReceiver() {
override fun onReceive(context: Context, intent: Intent) {
val messageId = intent.getStringExtra("messageId") ?: ""
trackEvent(
eventType = "pushNotification.click",
messageId = messageId,
appOpened = false
)
}
}
// In your notification click handler
CustomEvent clickEvent = new CustomEvent.Builder("pushNotification.click")
.addProperty("action", "notification_clicked")
.addProperty("messageId", messageId)
.build();
clickEvent.track();
// In your main Activity, when app is opened from notification
CustomEvent openEvent = new CustomEvent.Builder("pushNotification.open")
.addProperty("action", "notification_opened")
.addProperty("messageId", messageId)
.build();
openEvent.track();
Thanks
AJODev
Views
Replies
Total Likes