Google Ads – Installation


As of release 2023.12 (v4.8.0), Google Ads (formerly AdWords) is now supported in core product.

This article will cover how you can install Google Ads on your site, and any notables around this integration.

Setup Google Ads Conversion Tracking

  1. If you’re new to Google Ads, follow the setup process provided by Google
  2. Existing account holders:
    1. Sign in to your Google Ads account
    2. Navigate to the ‘Tools’ tab
    3. Choose ‘Measurement’ -> ‘Conversions’
    4. In the ‘Summary’ tab, select ‘+ New Conversion Action’
  3. Follow the Setup Conversion Tracking instructions via Google
    1. Note: This should be setup for tracking purchases when using the CIMcloud integration.  Otherwise, you can use Google Tag Manager to track other campaigns/conversions

Enter the Google Ads Tag and Campaign ID to Your CIMcloud Website

  • Login to your CIMcloud Worker Portal
  • Navigate to Customer Sites, then select “Edit” on the site/domain you would like to track
  • Click on the Analytics tab
  • Click “Yes”, under “Use Google Ads Tracking?”
  • Enter your Google Ads Tag ID
  • To track conversions within a campaign:
    • Click “Yes”, under “Use Google Ads Conversion Tracking?”
    • Enter your Google Ads Conversion Label
      • Update (4.10.2024): The interface mentions Conversion ID, which is incorrect and will be updated to Conversion Label in the latest version
  • Click Submit

Global Script Automatically Added

The following script is automatically included on all pages, where GOOGLE_ADS_TRACKING_ID will be replaced with the value entered above:

<script async src="<%=GOOGLE_ADS_TRACKING_ID%>"></script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', '<%=GOOGLE_ADS_TRACKING_ID%>');

Purchase Conversion Automatically Tracked

When a customer places an order on your site, you should now see purchase data sent to your Google Ads campaign within the next 48 hours.

Please enter a ticket to Extranet to track other events, or to modify the purchase event.

The following format is used to send conversions when a customer makes a purchase via page load events:

window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}

gtag('event', 'conversion', {
    'value': ORDER_TOTAL, // Total
    'currency': 'CURRENCY',
    'transaction_id': TRANSACTION_ID, // Order ID
    'shipping' : SHIPPING_TOTAL, // Shipping
    'tax' : TAX_TOTAL // Tax

Was this article helpful

Related Articles

Subscribe to receive email updates of what's new in the CIMcloud Help Center.