Amplitude CDP's Google Analytics 4 (Web) streaming integration enables you to forward your Amplitude events and users straight to Google Analytics 4 (Web) with just a few clicks.
Google Analytics 4 (Web) destination works with a web application instrumented with Google Tag (gtag.js). If you are working with an iOS or Android mobile application using Firebase, set up a Google Analytics 4 (iOS/Android) destination.
When you send events from Amplitude to Google Analytics 4, you enrich Google Analytics 4's data collection capabilities, deepen understanding of user journeys, and integrate product and marketing insights. This approach optimizes user acquisition and retention, and enhances the overall user experience. For more information, see Amplitude's blog post GA4 as an Amplitude CDP Destination: Hybrid Tracking Method for Full User Journey Analysis that walks through the end-to-end use case for this Google Analytics 4 streaming integration.
To configure streaming from Amplitude to Google Analytics 4 (Web), you need the following information from Google Analytics 4 (Web).
This applies to both event and user forwarding. Transformed user properties aren't supported.
Under Send Events, make sure the toggle is enabled ("Events are sent to Google Analytics 4") if you want to stream events to Google Analytics 4. When enabled, events are automatically forwarded to Google Analytics 4 when they're ingested in Amplitude. Events aren't sent on a schedule or on-demand using this integration.
non_personalized_ads
to true
for all events events. Transformed events aren't supported.
Google Analytics 4 requires that all events have a Google Analytics 4 App Instance ID present. If you have selected any events to send to Google Analytics 4 that may not have a App Instance ID, add a filter to send only events where the App Instance ID is present. Otherwise, your delivery metrics may be affected.
To stream user and property updates to Google Analytics 4, enable Send Users. This setting creates or updates users in Google Analytics 4 when you update them in Amplitude with the HTTP V2 API or Identify API. This integration doesn't support scheduled or on-demand updates.
You can optionally select user properties to send to Google Analytics 4 in the Select additional properties field. Amplitude sends only the properties you select and only when one of them is updated. Amplitude sends these properties as Google Analytics 4 User Properties. This integration doesn't support transformed user properties.
When satisfied with your configuration, at the top of the page toggle the Status to "Enabled" and click Save.
The events delivered, not delivered, and delivery rate metrics for this destination are an estimate based on a sample of events sent to the Google Analytics 4 Measurement Protocol validation endpoint. In addition to sending all events to the ingestion endpoint, a sample of up to the first 100 events (and 100 user property changes, if "Send Users" is enabled) are sent to the validation endpoint every 10 minutes. The metrics shown in Amplitude are scaled from the sample of events, sent to the validation endpoint, to the total volume of events sent to the ingestion endpoint. If the delivery rate is below 100%, the counts of events delivered shown in Amplitude may not match exactly with the number of events seen in Google Analytics 4. Latency metrics are still computed exclusively from events sent to the ingestion endpoint.
Thanks for your feedback!
April 18th, 2024
Need help? Contact Support
Visit Amplitude.com
Have a look at the Amplitude Blog
Learn more at Amplitude Academy
© 2024 Amplitude, Inc. All rights reserved. Amplitude is a registered trademark of Amplitude, Inc.