Skip to main content
All CollectionsIntegrationsAnalytics Integrations
Setting Up Push Notifications with GA4 and Firebase on the Reactiv Platform
Setting Up Push Notifications with GA4 and Firebase on the Reactiv Platform
R
Written by Reactiv App
Updated over 2 months ago

Setting Up Push Notifications with GA4 and Firebase on the Reactiv Platform

This guide provides a comprehensive walkthrough on setting up audiences in GA4 and delivering targeted push notifications in Firebase. Push notifications are a powerful way to engage users, ideal for sending broad announcements like product launches or for reaching users who have shown specific interest in products.


Audience Setup in GA4

Step 1: Access GA4 Account Settings

  1. Log into your GA4 account.

  2. In the bottom-left corner, select Settings.

Step 2: Select the Audience Panel

  1. Go to Data Display and choose Audiences to manage and create target groups for your notifications.

Step 3: Initiate a New Audience

  1. Click on New Audience to start defining the user segment.

Step 4: Create a Custom Audience

  1. Select Start from scratch > Create a custom audience to define precise audience parameters.

Step 5: Define Your Audience for Push Notifications

In this example, we’ll set up an audience specifically for users who have viewed a particular product in your app.

  • Audience Name: Provide a unique, descriptive name for this audience.

Configuring Audience Filters

  1. Filter #1 – Select the Reactiv platform:

  • In Add new condition, select Custom > reactiv_platform.

  • Click + Add Filter.

  • Set the filter condition to exactly matches (=).

  • Enter Reactiv Application as the value to capture all users who engaged with the main Reactiv app.

  1. Filter #2 – Target users who viewed a specific product:

  • Click And to add another filter, refining your audience selection.

  • From Add new condition, choose Events > view_item. This selects users who triggered a view_item event.

  • Click Add Parameter.

  • Select Other > item_id to filter based on a specific product.

  • Retrieve the Product ID from your Shopify admin.

  • In Firebase, set the condition to exactly matches (=), and paste your product ID (e.g., 9043741049131).

Your audience settings should look similar to this:

Audience Retention

Optionally, set Audience Retention in the top-right to control how long users remain in the audience after meeting the criteria.

You can monitor high-level statistics for your audience, including its size, in the Summary section:

Step 6: Save Your Audience

  1. Click Save to finalize this audience. Your audience is now ready to be used for targeted push notifications.


Firebase Push Notification Setup

Step 1: Log into Firebase

  1. Log into your Firebase account and navigate to the Run section.

Step 2: Access Messaging

  1. Select Messaging under the Run dropdown.

Step 3: Start a New Campaign

  1. Click New Campaign, and choose Notification.

Step 4: Configure Campaign Details

  1. Complete the following fields for your notification:

  • Notification Title

  • Notification Text

Optional fields:

  • Notification Image

  • Notification Name

  1. Click Next to proceed.

Step 5: Select Your Target Application

  1. Choose the target app (iOS or Android) from the Select an app dropdown.

  1. To further filter the audience, click And and select User audience(s) from the dropdown.

  1. Select your previously created audience.

If targeting both iOS and Android, click Target another app and repeat for the second platform.

Step 6: Schedule the Notification

  1. In the Scheduling dropdown, specify when the notification should be sent.

Step 7: Assign Key Events

  1. (Optional) Select a Key Event or Conversion Event metric to track engagement from the push notification. If not required, click Next.

Step 8: Add Additional Details

Customize further with the following options:

  • Android Notification Channel: Choose a specific notification channel if needed.

  • Custom Data: Add key-value pairs to pass extra data to the app.

  • Sound: Select a notification sound.

  • Apple Badge: Define if a notification badge should be displayed.

  • Expires: Specify message expiration to control redelivery attempts. (Maximum: four weeks)

Step 9: Review and Publish

  1. Click Review to inspect your notification settings.

  2. If all details are correct, select Publish to send the notification.


By following these steps, you can effectively set up push notifications to engage users on your mobile app using Firebase through the Reactiv platform.

Did this answer your question?