diff --git a/app/src/main/java/app/closer/notifications/PartnerNotificationManager.kt b/app/src/main/java/app/closer/notifications/PartnerNotificationManager.kt index b1989e39..34072352 100644 --- a/app/src/main/java/app/closer/notifications/PartnerNotificationManager.kt +++ b/app/src/main/java/app/closer/notifications/PartnerNotificationManager.kt @@ -126,6 +126,10 @@ class PartnerNotificationManager @Inject constructor( // dual path is what kept re-breaking notification routing — one mechanism for every route. val intent = Intent(context, MainActivity::class.java).apply { putExtra("app_route", route) + // Carry the notification type so the push_notification_opened analytics event records the + // specific kind (partner_answered, reveal_ready, …) instead of the generic "app_route". + // Enum name lowercased matches the remote-type strings in fromRemoteType. + putExtra("type", type.name.lowercase()) flags = Intent.FLAG_ACTIVITY_CLEAR_TOP or Intent.FLAG_ACTIVITY_SINGLE_TOP } val pendingIntent = PendingIntent.getActivity(