Send Custom Campaign Details to Google Analytics 4
Use Google Analytics 4 (GA4) to obtain metrics for your MobilePush apps.
- Implement the MobilePush SDK in your app.
- Implement the Firebase SDK in your app and configure based on your app platform:
- When a MobilePush message payload is received from Marketing Cloud Engagement, extract the following parameters:
- Log an AnalyticsEventCampaignDetails event.
The campaign_details event is the first event sent to Google Analytics after receiving the push notification from Marketing Cloud Engagement. Sending this event first ensures that all subsequent events sent to Google Analytics are associated with the campaign details.