Google Ads

Google Ads is a Google product you can use to create ads that display within the Google ad network. This advertising mechanism drives relevant traffic to your website when people are searching for your products and services. Google Analytics 4 (GA4) is a Google product you can use to view information about the effectiveness of your Google Ads campaigns. Linking your Google Ads account with your Google Analytics account provides the benefit of obtaining a broad picture of your customer behavior and tracking the effectiveness of your ad campaigns. See Link Google Ads and Analytics on Google's support site for information about linking Google Ads with Google Analytics.

When you link Google Ads with Google Analytics, you can obtain a broad picture of your customer behavior from add click, through site activity, and conversion. This analysis lets you track the effectiveness of your ad campaigns and make adjustments to improve the effectiveness of your campaigns.

Perform these procedures to set up Google Ads and link to your Google Analytics account.


The following are prerequisites for using Google Ads on your site:

A GA4 account is optional. See: Set up Analytics for a website and/or app on Google's support site.

Google Ads Conversion Tracking

Google Ads conversion tracking helps you see what happens after a customer clicks on your Google generated ad. This helps you determine the best strategies you can use to create effective advertising campaigns.

To set up Google Ads conversion tracking:

  1. Go to Google Ads conversions on the Google support site.

  2. Follow the instructions for creating a Google Ads conversion tag.

To create a conversion tag and auto-tagging:

  1. Login to Google Ads.

  2. Go to Tools & Settings > Measurements > Conversions and create a new website conversion action and tag.

  3. Select Website as the source of the conversions you want to track.

  4. Set up all the values then click Done or Save.

  5. Check the conversion code to retrieve the Conversion ID and the Conversion Label of the conversion tag. You use these values in the custom modules to trigger the conversions.

To set Google Analytics and Google Ads to use auto-tagging:

  1. Login to Google Analytics.

  2. Go to Admin.

  3. In the Account section (first column), select your account.

  4. In the Property section (middle column) select your site.

  5. In the Product Linking group in the Property section, click Google Ads Linking.

  6. Select the Google Ads account you want to link and click Continue.

  7. Enter a title in the Link group title field and click Link accounts.

  8. Click OK.

  9. Login to your Google Ads account.

  10. Click Tools.

  11. Click Linked Accounts under Setup.

  12. Click Details under Google Analytics.

  13. Select your Site, Property and View and Save.

  14. Go to Preferences and make sure the Auto-tagging feature is on.

  15. Enable auto-tagging

    To enable/disable auto-tagging:

    1. Sign in to your Google Ads account.

    2. In the left page menu, click Settings.

    3. Click Account settings along the top of the page.

    4. Click the Auto-tagging section.

    5. To enable auto-tagging, check the box next to “Tag the URL that people click through from my ad.”

    6. Click Save.

The Commerce Google Ads feature adds your Google Ads conversion tracking tags to your website pages.

To enable Google Ads:

  1. In NetSuite, go to Commerce > Websites > Configuration.

  2. Select your website and domain.

  3. Click Configure.

  4. In the configuration record, go to the Integrations tab and the Google Adwords subtab.

  5. Enter your Google Adwords ID, Google Adwords Label, and Adwords Value and click Save. To find these values:

    1. Sign in to your Google Ads account.

    2. In the Google Ads application, go to Tools & Settings > Measurement > Conversions

    3. Click a Conversion action to edit the action.

    4. Scroll to the bottom of the page and click Tag setup.

    5. Click Install the tag yourself.

    6. Select The global site tag on all pages was installed already when you created another conversion action in this Google Ads account Global site tag option.

    7. Select the Page load Event snippet option.

      The Google Adwords ID is the numeric (xxxxxxxxx) value in this string: ‘AW- xxxxxxxxx/’

      The Google Adwords Label is the remainder of the string following the “AW-xxxxxxxxx/label identifier

      The Adwords Value is shown in the Value field (Example: “value’: 1.0)

To enable Google Ads (pre-Vinson):

  1. Create a custom module that includes the SC.Shopping.Configuration, SC.MyAccount.Configuration, or SC.Checkout.Configuration object as a dependency.


    Do not edit the original source files directly. See Develop Your SCA Customization for information and best practices on customizing JavaScript.

  2. Extend the googleAdWordsConversion object to set the id, value, and label to the corresponding values for the conversion tag you created in your Google Ads account. See To create a conversion tag and auto-tagging:.

                             // [Google AdWords](
          ,   googleAdWordsConversion: {
                id: 0
             ,   value: 0
             ,   label: ''

Related Topics

Google Tag Manager
Google Analytics 4
Google Universal Analytics

General Notices