Learn business growth with Google Analytics 4 Forums Google Analytics 4 When notification_open Event Triggers

  • When notification_open Event Triggers

    Posted by Sofia on 10 November 2023 at 7:14 am

    Hello. I want to know when the notification_open event triggers in GA4. Basically, I would like to know:

    1. If the event triggers when the user clicks in the push notification, even when the app doesn’t load (the user swipes back because of a missclick or there is no WIFI connection to load it).
    2. Or if the event only triggers when the user clicks in the push notification and the app loads properly.

    I read the official documentation from GA4 but the definition doesn’t clarify this point: https://support.google.com/analytics/answer/9234069?hl=en

    Thanks in advance,

    Manan replied 7 months, 1 week ago 2 Members · 3 Replies
  • 3 Replies
  • Manan

    11 November 2023 at 4:40 am

    Hi Sofia,

    The notification_open event is triggered when a user taps on the notification sent from Firebase Cloud Messaging (FCM) that results in the application opening. The event will be triggered regardless of whether the app is in the foreground or background.

    Here are the detailed trigger conditions :

    When the notification is tapped: The notification_open event triggers when a user taps on the notification. It does not require the app to load fully or reach a particular state within the app; the event is recorded as long as the user’s action leads to the app being brought to the foreground.

    Misclick: That is not a proper click, therefore , event will not trigger.

    The Wifi loading issue: Even if the app does not load properly due to issues such as no WiFi connection, the notification_open event should still be logged as it is based on the click action that attempts to open the app. If the user swipes back or dismisses the app before it loads, this may vary depending on the specific implementation of the event handling in the app code, but typically, the intent to open (which is the tap) is what triggers the event.

    One thing to be cognizant of is that if there is no internet connection at the time of the event, GA4 may not receive the data until the connection is restored and the app is used again with an active connection.

    In addition to the link you posted , you can read about FCM notification here :

    • Sofia

      13 November 2023 at 7:27 am

      Thanks a lot! That helped me a lot.

      • Manan

        13 November 2023 at 11:03 am

        Glad it helped!

Log in to reply.