Links

Google Analytics (GA4 & UA)

The Google Global Site Tag Integration push events data to Google Analytics, and to Google Ads if you have enabled Gtag in your Google Ads account. Follow this guide to connect your Google Ads account with Google Analytics: https://support.google.com/analytics/answer/1033961?hl=en
The GTAG integration works with GA4 (Google Analytics 4) out of the box, and with UA as long as the corresponding events are defined in your Universal Analytics setup. The integration activates the site tag client side, which means it sends the events to google analytics directly from the browser. Much like setting up a Google Analytics tracker yourself, but with predefined events mainly for e-commerce.

Add this destination

  1. 1.
    Log into your engage account
  2. 2.
    Go to Data Platform > Integrations and select the Google Analytics (GA4 & UA)
  3. 3.
    Set the GTAG ID and select the events to be included
    1. 1.
      GTAG ID (measurement ID) for Google Analytics 4 (G-XXXXXXXXXX)
    2. 2.
      GTAG ID (tracking ID) for Universal Analytics (UA-XXXXXXX-X)
  4. 4.
    Use a Google Ads conversion by adding a Conversion action ID and Label ID.
    1. 1.
      Make sure to include AW- in the Conversation Action ID
Note, if you would like to send data in parallel to GA4 and UA, the field "UA ID" should be used for the "Tracking ID" (UA) and GTAG for "measurement ID" (GA4). Otherwise only "GTAG ID" should be populated independent of running with GA4 or UA.

Mapped events

The following events are mapped out-of-the-box for you when you activate the Google Global Site Tag integration. All of these events will be available in Google Analytics, and all data in Google Analytics can be used for dynamic ads and remarketing in Google Ads.
Events in Engage
Google Analytics events
Added to Cart
add_to_cart
Order Completed
purchase
Product Seen
view_item_list
Checkout Started
begin_checkout
Removed From Cart
remove_from_cart
Order Refunded
refund
Promotion Viewed
view_promotion
Promotion Clicked
select_content

Requirements

Active sources

This destination requires one of the following sources to be active

Get your Measurement ID

  1. 1.
    Log into your Google Analytics account
  2. 2.
    Go to Admin > Data Streams and click on the stream
  3. 3.
    You'll find your Measurement id in top right corner (G-xxxxxxxxxx)

Get your Conversion action ID

Follow these steps to get your conversion action ID. If you don't have any setup yet, create a new one in step 3.
  1. 1.
    In your Google Ads account, click the Tools and Settings menu. (
    )
  2. 2.
    Select Measurement: Conversions, which opens to the Conversion Actions table.
  3. 3.
    Select the name of the conversion that you want to use from the Conversion action column.
  4. 4.
    Expand the tab for Tag setup to view the tag details.
  5. 5.
    Select Use Google Tag Manager.
  6. 6.
    Scroll to the code snippet section and look for an id starting with AW-. That is your conversion action ID.
  7. 7.
    Get the Conversion action ID.
Make sure to include the AW- prefix in the ID
Code snippet example
<!-- Global site tag (gtag.js) - Google Ads: 123456789 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-123456789"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-123456789');
</script>

Get your Conversion Label ID

Follow these steps to get your conversion label ID. If you don't have any setup yet, create a new one in step 3.
  1. 1.
    In your Google Ads account, click the Tools and Settings menu. (
    )
  2. 2.
    Select Measurement: Conversions, which opens to the Conversion Actions table.
  3. 3.
    Select the name of the conversion that you want to use from the Conversion action column.
  4. 4.
    Expand the tab for Tag setup to view the tag details.
  5. 5.
    Select Use Google Tag Manager.
  6. 6.
    Scroll to the code snippet section and look for an id starting with AW-. That is your conversion action ID.
  7. 7.
    Get the Conversion Label ID.

Test implementation of GA4 or UA

  1. 1.
    Open the following link -> https://tagassistant.google.com/
  2. 2.
    Add a domain
  3. 3.
    Browse the store and make sure to perform all the action from which you expect to receive an event.
  4. 4.
    Evaluate the result by checking all the events that has been collected