Google Universal Analytics
Google is a multinational technology company focusing on online advertising, search engine technology, cloud computing, and computer software. Google Universal Analytics (UA) is a web analytics service that tracks and reports website traffic. Using this destination, you can take advantage of the Measurement Protocol by sending data via server-side. This version is related to the previous generation of Google Analytics. See Google Analytics 4 destination for the newest and recommended version.
Google Universal Analytics will be deprecated on July 1, 2023, meaning it will stop processing data. Analytics 360 properties will stop working on October 1, 2023.
Key features
The Google Universal Analytics destination provides the following key features:
Events structure: our Events reference model covers Google's hit types, meaning that your data is properly bridged to the expected fields in an optimized way.
Prebuilt mappings: data mapping for event-based destinations happens automatically, which simplifies user inputs.
Smart mapping: data mapping can be readjusted using your datalayer defined fields.
Refined data: you can freely push additional information based on your specific needs (E.g. adding custom events and custom properties).
Support for multi-item data: information included in the item array is dispatched to UA.
Destination setup
Configuration
Settings | Description |
---|---|
|
The tracking identifier is a string like "UA-XXXXXX-Y". It must be included in your tracking code to tell Analytics which account and property to send data to. |
| Map your custom event properties by setting their field names in |
| Cookie name holding the Google Analytics "Client Id" that uniquely identifies a user instance of a web client. Default value: "_ga". The "Client Id" is the right most string in the cookie, including a single dot. E.g. see the following blue highlighted string "GA1.1.XXXXXXXXXX.XXXXXXXXXX". |
[1] Using "dots" (".") you can navigate deeper to the specific field you want to get the value of. See Events reference for more details on the standard field names by event. You can also freely set custom fields: there are no boundaries.
Quick reference
As recommended by Google, Enhanced Ecommerce hits are used in place of Ecommerce hits. See more details on UA "Hit Types" following this LINK.
Commanders Act Events | UA Hit Types |
---|---|
|
|
|
|
|
|
[1] This is either pageview
or screenview
, depending if the "Smart Mapping" field App Name (an)
is set with an empty value or a non-empty one.
[2] You can specify a custom social event by setting the "Smart Mapping" field Social Event
.
Field mappings
Most properties can be remapped using our "Smart Mapping" feature.
Commanders Act Properties | Google Properties |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[1] partners.ga.client_id
has priority over Client Id Cookie Name
and user.tcId
.
[2] Always anonymized just as though aip
(anonymize IP) is used.
[3] Retrieved by parsing the provided "Smart Mapping" field Document Location (dl)
.
[4] If items
is not set, then this property won't be present.
If partners.ga.product_action
is not set, depending on the incoming event, the following values are used as default: detail
(page_view event or if your event is not one of the following being listed), purchase
(purchase event), click
(search, add_to_wishlist, login, select_content, select_item, sign_up, view_cart, view_item and view_item_list events), refund
(refund event), checkout
(begin_checkout, add_shipping_info and add_payment_info events), add
(add_to_cart event), remove
(remove_from_cart event).
[5] If partners.ga.event_category
is not set, since this property is required for "event" hit types, this gets the default value: UX
.
[6] If partners.ga.event_action
is not set, then your event name is used.
[7] If partners.ga.event_label
is not set, depending on the incoming event, the following fields are used as default: search_term
(search event), item_id
(select_content event) and method
(sign_up and login events).
[8] If partners.ga.event_npa
is set with one of the following values: 1
(string or integer) or true
(boolean), then npa
is set with 1
.
[9] If partners.ga.non_iteration
is set with one of the following values: 1
(string or integer) or true
(boolean), then npa
is set with 1
.
[10] See Custom Event Properties
in Configuration for more details on how you can bridge custom properties to UA.
Last updated