You are here:
Create a Google Analytics GA4 Data Stream in Marketing Cloud Intelligence
Create a Google Analytics GA4 data stream to track and view reports on website traffic.
Required Editions
| User Permissions Needed | |
|---|---|
| To create an API data stream: | Admin |
To create a Google Analytics GA4 API data stream requires a valid username and password with access to at least one Google Analytics profile.
- On the Connect and Mix tab, click Add New.
- Select the Google Analytics connector.
- In the General section, click Add New and enter your credentials.
- Next to Website select the GA4 Property that you want to retrieve data for. This API only pulls in data at the website or App level by default.
-
Set more properties by using Extended Properties:
Note Due to a Google Analytics limitation, there’s a limit on the number of dimensions and measurements that can be pulled in the same query. If you encounter issues, try removing extended properties.- Location Breakdown: Select this breakdown to add the Country dimension.
- To pull page-level data, from the Get Page Levels dropdown, select the level. For example, if you select two levels, the first two sections of the page path are extracted to two columns in your report. Selecting all levels causes longer query times.
-
Get Events Data: Select to add the Web Analytics Events data
stream type. These fields are added.
- Event Name
- Total Events
- Events Value
-
Get Device Category Select to add the Web Analytics data stream
type. These fields are added.
- Device Browser
- Device Category
-
Get Pages: Select to add the Web Analytics Pages data stream type.
These fields are added.
- Web Analytics Page Hostname
- Web Analytics Page Path
- Web Analytics Page Path Level 1
- Web Analytics Page Path Level 2
-
Get Keywords: Select to add the Web Analytics Data Stream Type.
These fields are added.
- Web Analytics Keyword
- Key Web Analytics Keyword
-
Get Campaigns: Select to add the Web Analytics Data Stream Type.
This field is added.
- Web Analytics Site Campaign
-
Map as delivery entities: This checkbox is available when
Get Keywords or Get Campaigns are selected.
This selection enables data to be connected to your workspace’s delivery data. If selected,
these fields are added to the Web Analytics Data Stream Type.
- Web Analytics Site Campaign
- Search Keyword Key
- Search Keyword
- Get nonsampled data: Select to retrieve nonsampled data from Google Analytics. This capability applies only to GA360.
- Traffic Source Dimension: Use this dropdown to determine the scope in which the traffic-source dimensions are pulled into the dataset. You can select Session-scoped dimensions or User-scoped dimensions. For example, if you select Session-scoped, the web analytics source field is populated with Session Source. If you select User-scoped the web analytics source field is populated with First User. Use the Map to Model screen to check the display name and ensure your selection is correct.
- To view or change the mapping, click Mapping. Or you can access mapping by selecting Map to Model at the bottom of the Create New Stream page.
- To define advanced settings, at the bottom of the screen, select Advanced Settings.
- Save your work.
-
Quality check your data:
- Create a report in the Google Analytics platform for the required date.
- Process the relevant data stream in Marketing Cloud Intelligence filtered to the same date range.
- Create an identical report or pivot table in Marketing Cloud Intelligence with the same date range, dimensions, and measurements.
- Compare the measurement totals to make sure that they’re aligned.
Note The sliding window for the Google Analytics API connector is 10.
Note You may encounter data discrepancies when comparing your report with GA reports. If you discover that your GA report contains dimensions and measurements that aren’t displaying in Marketing Cloud Intelligence, try using our custom connector to include the exact same set of dimensions and measurements that are displayed in GA reports. For more information, see Create a Google Analytics Custom Data Stream in Marketing Cloud Intelligence
- Add Commerce Fields to Google Analytics Connector in Marketing Cloud Intelligence
Add commerce fields to your Google Analytics connector to view Product and Order level data—displaying engagement and performance data alongside analytics data. With this view you can learn more about your commerce marketing spend and generated revenue.
Did this article solve your issue?
Let us know so we can improve!

