Google Analytics 4 (GA4) is the primary analytics platform for NX Mobile. During set up, we configure all NX Mobile apps to send events to GA4 through Firebase. From the app, events are sent to Firebase which are then forwarded to GA4 as data streams. Each GA4 property holds one mobile app and one website. One of the benefits of GA4 is both web and app data can flow into one location and be consolidated.

Below are instructions on how to reconfigure your Firebase account to GA4 or look at the property where the app data streams are flowing to.

Mobile NX GA4 - Push notifications and messaging

 

 

Event Trigger Condition Event Name Parameters Version Requirement
User responds to notification permissions prompt (allow) notification_user_opt_in None 200.0
User responds to notification permissions prompt (do not allow) notification_user_opt_out None 200.0
User subscribes to notification topic notification _subscribe source: (profile, card, onboarding, block); topic_name: Notification topic name; topic_id: Notification topic id 200.0
User unsubscribes from notification topic notification_unsubscribe source: (profile, card, onboarding, block); topic_name: Notification topic name; topic_id: Notification topic id 200.0
When a user opens a notification (foreground or background) app_notification_open notification_message_name: Push notification title; asset_id: BLOX asset ID; device_time: Time the push notification was opened (UTC) - ex: 2024/11/26 11:29:35; notification_message_id: FCM push ID 214.0 Android / 215.0 iOS
When a notification received while the app is in the foreground app_notification_foreground notification_message_name: Push notification title; asset_id: BLOX asset ID; device_time: Time the push notification was opened (UTC) - ex: 2024/11/26 11:29:35; notification_message_id: FCM push ID 214.0 Android / 215.0 iOS
When a user dismisses a notification while the app is in the foreground app_notification_foreground_dismiss notification_message_name: Push notification title; asset_id: BLOX asset ID; device_time: Time the push notification was opened (UTC) - ex: 2024/11/26 11:29:35; notification_message_id: FCM push ID 214.0 Android / 215.0 iOS

Mobile NX GA4 - Push notifications and messaging (NOT recommended)

* denotes automatic events collected by Firebase/GA4. By default Firebase/Google Analytics 4 provides automatic events for notifications. Due to how BLOX Mobile NX sends push notifications, these automatic events are being sent with less information than intended making them all but useless for tracking push notifications.

Apps updated on version 1.11.0 / 215.0 and beyond will have custom events to provide more visibility into which notifications are being acted upon. Please note the default analytics will continue to be sent as they are part of the SDK. 

 

Event Trigger Condition Event Name Parameters Version Requirement
User opens notification (foreground or triggers the app to open banner) * notification_open message_name; message_time; message_device_time; message_id; topic label; message_channel 200.0
User receives notification while the app is open (foreground) * notification_foreground message_name; message_time; message_device_time; message_id; topic label; message_channel 200.0
User receives notification * Android only notification_receive message_name message_time message_device_time message_id topic label message_channel 200.0
User dismisses notification * Android only notification_dismiss message_name message_time message_device_time message_id topic label message_channel 200.0

Mobile NX GA4 - Firebase in-app messaging

* denotes automatic events collected by Firebase/GA4. By default Firebase/Google Analytics 4 provides automatic events for notifications. Due to how BLOX Mobile NX sends push notifications, these automatic events are being sent with less information than intended making them all but useless for tracking push notifications.

Event Trigger Condition Event Name Parameters Version Requirement
when a user takes action on a Firebase In-App Message * firebase_in_app_message_action message_name; message_device_time; message_id 204.0
when a user dismisses a Firebase In-App Message * firebase_in_app_message_dismiss message_name; message_device_time; message_id 204.0
when a user sees a Firebase In-App Message * firebase_in_app_message_impression message_name; message_device_time; message_id 204.0