-
The data location of the BigQuery dataset used in SegmentStream matches the one configured in GA4.

-
The Streaming export type is enabled, and the Daily export is disabled.

-
No events are excluded in your BigQuery Link settings.

Connecting Google Analytics 4 to SegmentStream
Follow the guide on Additional GA4 settings to pass additional parameters that help SegmentStream integrate better with your business.

Referral exclusion logic
To ensure SegmentStream provides accurate insights, it must correctly identify where each session’s traffic is coming from. Properly setting up referral exclusions is key, especially when users move between different domains or subdomains during redirects. Typical scenarios for using referral exclusions include stopping traffic from payment gateways, login systems, or other internal processes from being counted as external referrals. SegmentStream uses the settings from your Google Analytics 4 (GA4) property to filter out unwanted referrals. If your GA4 is correctly set up, SegmentStream automatically applies those same settings. This process helps identify and exclude unwanted referral traffic through the following methods:- Identifying when visitors navigate within different parts of your site or its subdomains, preventing these movements from being counted as external visits.
- Redirects between websites specified in your GA4 stream’s cross-domain measurement function are treated similarly to redirects within the same domain and are excluded from referral tracking. Learn more about setting up cross-domain measurement in Google’s documentation.
- You can further control unwanted referrals by configuring the unwanted referrals list in your GA4 stream settings. Refer to Google’s documentation for configuring unwanted referrals.
BigQuery access issues
If the Google Analytics 4 BigQuery link is connected to a different project than the one specified in the SegmentStream BigQuery settings, you need to provide additional permissions before connecting event tracking.Get your service account email
- In your SegmentStream project, navigate to Settings > Events Tracking.
- Click on the Google Analytics 4 option.
- Select the account and property where your data is collected.
- Copy the service account email from the Google Analytics 4 connection settings.

Find the BigQuery project linked to GA4
- In your Google Analytics property, go to Admin.
- Under Product Links, click BigQuery Links.
- You will see the ID and name of the linked project.

Set permissions in your Google Cloud account
Open Google Cloud Console
Go to the Google Cloud Platform Console.
Select the linked project
Click on the project selection menu in the navigation bar, and select the project linked to Google Analytics 4.

Test connection and save
- Return to your SegmentStream project and navigate to the Google Analytics 4 connection.
- Click TEST CONNECTION.
- If the permissions have been correctly set up, the SAVE button should be active. Click it to complete your Google Analytics 4 tracking setup.



