Google Analytics Connector Setup Guide
This article describes how to set up the Google Analytics Connector in your Customer Data Hub account.
Google Analytics lets you do more than measure sales and conversions. It also gives insights into how visitors find and use your site, and how to keep them coming back. Learn more about your customers by bringing all of your data together so everyone in your organization can explore, gain intelligence, and inform strategies to increase business performance.
Connector Actions
Action Name | AudienceStream | EventStream |
---|---|---|
Send Analytics Event Data | ✓ | ✓ |
Send Analytics Event Data (Mobile Optimized) | ✓ | ✓ |
Send Analytics Transaction Data | ✓ | ✓ |
Send Analytics Transaction Data (Mobile Optimized) | ✓ | ✓ |
Send Analytics Social Data | ✓ | ✓ |
Send Analytics Social Data (Mobile Optimized) | ✓ | ✓ |
Send Analytics Page View Data | ✓ | ✓ |
Send Analytics Screen View Data (Mobile Optimized) | ✓ | ✓ |
Send Analytics Timing Data | ✓ | ✓ |
Send Analytics Timing Data (Mobile Optimized) | ✓ | ✓ |
Client ID
The Google Analytics Connector requires either a client ID or user ID for all actions. You can retreive the client ID from the _ga
cookie, but it must be parsed before use.
For example, if your _ga
cookie is,
GA1.2.447986009.1565955334
the client ID value is the value after GA1.2.
:
447986009.1565955334
To assist in parsing client IDs, use the Google Analtyics Cookie Matching Service tag in your workflow and then use the cp.utag_main__ga
cookie instead of using cp._ga
directly.
Configure settings
Navigate to the Connector Marketplace and add a new connector. For general instructions on how to add a connector, see the About Connectors article.
After adding the connector, configure the following settings:
- Google Tracking Id: Required: The format is
UA-XXXX-Y
Action settings - parameters and options
Click Next or go to the Actions tab. It’s where you’ll set up Actions and trigger them.
This section describes how to set up Parameters and Options for each Action.
Action - Send Analytics Event Data
Parameters
Parameter | Description |
---|---|
Google Tracking Id |
|
Measurement Parameters |
|
Custom Dimensions | Map values to dimension indices between 1 and 20 (200 for Premium accounts) |
Custom Metrics | Map values to metric indices between 1 and 20 (200 for Premium accounts) |
Event Tracking Data | Required: map values to event parameters |
Enhanced E-Commerce: Product Action |
|
Enhanced E-Commerce: Action Data |
|
Enhanced E-Commerce: Products Data |
|
Enhanced E-Commerce: Products Custom Dimensions |
|
Enhanced E-Commerce: Products Custom Metrics |
|
Impressions Data |
|
Impressions Custom Dimensions |
|
Impressions Custom Metrics |
|
Enhanced E-Commerce: Promotion Action |
|
Enhanced E-Commerce: Promotions Data |
|
Action - Send Analytics Event Data (Mobile Optimized)
Parameters
Parameter | Description |
---|---|
Google Tracking Id |
|
Mobile Measurement Parameters |
|
Custom Dimensions | Map values to dimension indices between 1 and 20 (200 for Premium accounts) |
Custom Metrics | Map values to metric indices between 1 and 20 (200 for Premium accounts) |
Event Tracking Data | Required: map values to event parameters |
Enhanced E-Commerce: Product Action |
|
Enhanced E-Commerce: Action Data |
|
Enhanced E-Commerce: Products Data |
|
Enhanced E-Commerce: Products Custom Dimensions |
|
Enhanced E-Commerce: Products Custom Metrics |
|
Impressions Data |
|
Impressions Custom Dimensions |
|
Impressions Custom Metrics |
|
Enhanced E-Commerce: Promotion Action |
|
Enhanced E-Commerce: Promotions Data |
|
Action - Send Analytics Transaction Data
Parameters
Parameter | Description |
---|---|
Google Tracking Id |
|
Measurement Parameters |
|
Custom Dimensions | Map values to dimension indices between 1 and 20 (200 for Premium accounts) |
Custom Metrics | Map values to metric indices between 1 and 20 (200 for Premium accounts) |
E-Commerce: Transaction Details | Required: map values to transaction parameters (see: E-Commerce Parameters) |
E-Commerce: Item Details | Item specific information for the transaction. |
Action - Send Analytics Transaction Data (Mobile Optimized)
Parameters
Parameter | Description |
---|---|
Google Tracking Id |
|
Mobile Measurement Parameters |
|
Custom Dimensions | Map values to dimension indices between 1 and 20 (200 for Premium accounts) |
Custom Metrics | Map values to metric indices between 1 and 20 (200 for Premium accounts) |
E-Commerce: Transaction Details | Required: map values to transaction parameters (see: E-Commerce Parameters) |
E-Commerce: Item Details | Item specific information for the transaction. |
Action - Send Analytics Social Data
Parameters
Parameter | Description |
---|---|
Google Tracking Id |
|
Measurement Parameters |
|
Custom Dimensions | Map values to dimension indices between 1 and 20 (200 Premium accounts) |
Custom Metrics | Map values to metric indices between 1 and 20 (200 Premium accounts) |
Social Interactions | Required: map values to social parameters |
Action - Send Analytics Social Data (Mobile Optimized)
Parameters
Parameter | Description |
---|---|
Google Tracking Id |
|
Mobile Measurement Parameters |
|
Custom Dimensions | Map values to dimension indices between 1 and 20 (200 Premium accounts) |
Custom Metrics | Map values to metric indices between 1 and 20 (200 Premium accounts) |
Social Interactions | Required: map values to social parameters |
Action - Send Analytics Page View Data
Parameters
Parameter | Description |
---|---|
Google Tracking Id |
|
Measurement Parameters |
|
Custom Dimensions | Map values to dimension indices between 1 and 20 (200 Premium accounts) |
Custom Metrics | Map values to metric indices between 1 and 20 (200 Premium accounts) |
Content Information |
|
Enhanced E-Commerce: Product Action |
|
Enhanced E-Commerce: Action Data |
|
Enhanced E-Commerce: Products Data |
|
Enhanced E-Commerce: Products Custom Dimensions |
|
Enhanced E-Commerce: Products Custom Metrics |
|
Impressions Data |
|
Impressions Custom Dimensions |
|
Impressions Custom Metrics |
|
Enhanced E-Commerce: Promotion Action |
|
Enhanced E-Commerce: Promotions Data |
|
Action - Send Analytics Screen View Data (Mobile Optimized)
Parameters
Parameter | Description |
---|---|
Google Tracking Id |
|
Mobile Measurement Parameters |
|
Custom Dimensions | Map values to dimension indices between 1 and 20 (200 Premium accounts) |
Custom Metrics | =Map values to metric indices between 1 and 20 (200 Premium accounts) |
Content Information |
|
Enhanced E-Commerce: Product Action |
|
Enhanced E-Commerce: Action Data |
|
Enhanced E-Commerce: Products Data |
|
Enhanced E-Commerce: Products Custom Dimensions |
|
Enhanced E-Commerce: Products Custom Metrics |
|
Impressions Data |
|
Impressions Custom Dimensions |
|
Impressions Custom Metrics |
|
Enhanced E-Commerce: Promotion Action |
|
Enhanced E-Commerce: Promotions Data |
|
Action - Send Analytics Timing Data
Parameters
Parameter | Description |
---|---|
Google Tracking Id |
|
Measurement Parameters |
|
Custom Dimensions | Map values to dimension indices between 1 and 20 (200 Premium accounts) |
Custom Metrics | Map values to metric indices between 1 and 20 (200 Premium accounts) |
Timing | Map values to timing parameters |
Action - Send Analytics Timing Data (Mobile Optimized)
Parameters
Parameter | Description |
---|---|
Google Tracking Id |
|
Mobile Measurement Parameters |
|
Custom Dimensions | Map values to dimension indices between 1 and 20 (200 Premium accounts) |
Custom Metrics | Map values to metric indices between 1 and 20 (200 for Premium accounts) |
Timing | Map values to timing parameters |
This page was last updated: September 7, 2023