Send events to Google Analytics 4 using RudderStack hybrid mode.
2 minute read
RudderStack’s hybrid mode lets you send your event data to Google Analytics 4 via both the native SDK (device mode) and the Google Analytics 4 Measurement Protocol (cloud mode).
To use GA4 connection in hybrid mode, you can select Hybrid mode while setting up the connection modes. This option is available only for the gtag.js web SDK.
We recently updated our Google Analytics 4 hybrid mode destination to support new instrumentation options. See the release note for more information.
Why use hybrid mode?
Unlike GA Universal, GA4’s server-side tracking (cloud mode) is less independent and may require support from client-side tracking (device mode). As noted in Google’s docs, Measurement Protocol is meant to augment automatic collection via gtag, Tag Manager, and Google Analytics, not replace them.
Through a single hybrid mode deployment, you would have access to a fuller, more unified and accurate set of attribution data with the least impact on performance (resulting from a combination of client-side and server-side tracking).
Specifically, a hybrid instrumentation may make sense for those who prefer to maintain the benefits of cloud mode—including a faster site, more reliable data collection, and first-party data capture, while also capturing data required for attribution, sessionization, geolocation, and conversions for Google Ads Remarketing.
How does hybrid mode work?
RudderStack sends page calls via device mode and all other calls via cloud mode. The purpose of sending page calls via device mode is to capture attribution information (such as UTM parameters) that is only available in device mode.
Further, RudderStack stitches the page call information with the rest of the cloud mode events using Google’s clientID and sessionID.
This site uses cookies to improve your experience while you navigate through the website. Out of
these
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
essential
for the working of basic functionalities of the website. We also use third-party cookies that
help
us
analyze and understand how you use this website. These cookies will be stored in your browser
only
with
your
consent. You also have the option to opt-out of these cookies. But opting out of some of these
cookies
may
have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
This site uses cookies to improve your experience. If you want to
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.