AJO - Push open and clicks in tracking dataset | Community
Skip to main content
Silvio6
Level 5
April 25, 2025
Question

AJO - Push open and clicks in tracking dataset

  • April 25, 2025
  • 5 replies
  • 1753 views

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!

5 replies

SatheeskannaK
Community Advisor
Community Advisor
April 25, 2025
Level 4
April 25, 2025

Hello @silvio6 ,

  • If the user clicks/taps on the notification or buttons or any click on the notification, even if app not opened is captured as Push Click.
  • If the user clicks notification and app opens like if app is launched from the notification click then it is captured as Push Open.

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

Silvio6
Silvio6Author
Level 5
April 25, 2025

ok, but there's no "pushNotification.click" eventType or something like that?

Level 4
April 25, 2025

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

Silvio6
Silvio6Author
Level 5
April 29, 2025

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 ?

Manoj_Kumar
Community Advisor
Community Advisor
May 1, 2025

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.

Manoj     Find me on LinkedIn
Sukrity_Wadhwa
Community Manager
Community Manager
May 6, 2025

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!

Sukrity Wadhwa
Silvio6
Silvio6Author
Level 5
May 6, 2025

well I'm not finding anything related custom code to add to mobile app custom actions clicks. Is there any doc regarding that? Thanks.

Level 4
May 7, 2025

@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