---
schema_version: "1"
id: 39dacfd222f7a8017b99a9944e496af5abe15d4a3fa91d49564ee1e309b8ee3d
title: Create a Google Analytics UA Data Stream in Marketing Cloud Intelligence Data Pipelines
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/mcidp_data_streams_api_connect_ganal_ua.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.mcidp_data_streams_api_connect_ganal_ua.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 75a9420a72c8b1b813cb55c295f2ee3fbd65840fe44a11b79268d12f5b4e7387
description: Create a Google Analytics data stream to track and view reports on website traffic.
products:
  - Marketing
  - Marketing Cloud Intelligence
release: "264"
---
# Create a Google Analytics UA Data Stream in Marketing Cloud Intelligence Data Pipelines

Create a Google Analytics 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.

1. On the **Import** tab, click **Add New**.
2. Select the **Google Analytics** connector.
3. In the General section, click **Add New** and enter your credentials.
4. Next to Website, select the **Google Analytics View** that you want to retrieve data for.
5. This API only pulls in data at the website level by default.
6. Set more properties by using **Extended Properties**:
    1. **Location Breakdown**: Select to add the Country dimension.
    2. **Get Page Levels**: To pull page-level data, select the level from the dropdown. 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.
    3. **Get Goals Data**: Select to add the Web Analytics Tags data stream type. These fields are added.
        
        1. Web Analytics Tag
        2. Goal Value
        3. Goal Starts
        4. Goal Completions
    4. **Get Events Data**: Select to add the Web Analytics Events data stream type. These fields are added.
        
        1. Web Analytics Event Category
        2. Web Analytics Event
        3. Visits with Events
        4. Unique Events
        5. Total Events
        6. Events Value
    5. **Get Device Category**: Select to add the Web Analytics data stream type. These Fields are added.
        
        1. Device Browser
        2. Device Category
    6. **Get Event Label Dimension**: This field is added and mapped to the Web Analytics Events Data Stream Type.
        
        1. Web Analytics Event Label
    7. **Get Pages**: Select to add the Web Analytics Pages data stream type. These fields are added.
        
        1. Web Analytics Page Hostname
        2. Web Analytics Page Path
        3. Web Analytics Page Path Level 1
        4. Web Analytics Page Path Level 2
    8. **Get Keywords**: Select to add the Web Analytics Data Stream Type. These fields are added.
        
        1. Web Analytics Keyword
        2. Key Web Analytics Keyword
    9. **Get Campaigns**: Select to add the Web Analytics Data Stream Type. This field is added.
        
        1. Web Analytics Site Campaign
    10. **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.
        
        1. Web Analytics Site Campaign
        2. Search Keyword Key
        3. Search Keyword
    11. **Get nonsampled data**: Select to retrieve nonsampled data from Google Analytics. This capability applies to GA360.
    12. **Get Ad Content**: Select to add this field to the Web Analytics data stream type.
        
        1. Ad name
    13. **Get Product Level Data**: This selection adds ecommerce fields to your data. You can edit the mapping in the ecommerce tab in the Map to Model page. Your campaign is automatically connected to the order and items purchased, creating a connection between the campaign and the revenue that it generated.
7. 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.
8. To define advanced settings, at the bottom of the screen, select **Advanced Settings**.
9. Save your work.
10. Quality check your data:
    1. Create a report in the Google Ads platform for the required date.
    2. Process the relevant data stream in Marketing Cloud Intelligence Data Pipelines filtered to the same date range.
    3. Create an identical report or pivot table in Marketing Cloud Intelligence Data Pipelines with the same date range, dimensions, and measurements.
    4. Compare the measurement totals to make sure that they’re aligned.