To use event data from Google Analytics 4 in SegmentStream, you need to first set up a Google Analytics 4 BigQuery Link. Please refer our guide Set up GA4 BigQuery Link ensuring that the following requirements are met:
Ensure that the data location of the BigQuery dataset used in SegmentStream matches the one configured in GA4.
Make sure the Streaming export type is enabled, and the Daily export is disabled.
Ensure that no events are excluded in your BigQuery Link settings.
Once the GA4 BigQuery Export is set up, data should start flowing to your BigQuery project within 24 hours. After that happens, you will be able to connect your Google Analytics 4 to SegmentStream.
<aside> ℹ️
Please follow our guide on passing additional parameters to help SegmentStream integrate better with your business - ‣.
</aside>
To ensure SegmentStream provides accurate insights, it's crucial that it accurately identifies where each session's traffic is coming from. Properly setting up referral exclusions is key, especially when users move between different domains or subdomains, like during redirects.
Typical scenarios for using referral exclusions are to stop counting traffic from payment gateways, login systems, or other internal processes as external referrals.
SegmentStream uses the settings from your Google Analytics 4 (GA4) property to filter out these unwanted referrals. So, if your GA4 is correctly set up, SegmentStream will automatically apply those same settings. This process helps identify and exclude unwanted referral traffic through the following methods: