Google Ads

This topic applies to

Applies to

SuiteCommerce | SuiteCommerce Advanced

 

Google Ads is a Google product you can use to create ads that display within the Google ad network. This advertising mechanism is designed to drive relevant traffic to your website when people are searching for your products and services. Google Universal Analytics 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 Universal Analytics account provides the benefit of obtaining a broad picture of your customer behavior and track the effectiveness of your ad campaigns.

When you link your Google Universal Analytics and Google Ads you can obtain a broad picture of your customer behavior from add click, through site activity and conversion. This analysis enables you to 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 Universal Analytics account.

Prerequisites

The following are prerequisites for using Google Ads on your 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 https://support.google.com/tagmanager/answer/6105160.

  2. Follow the Google instructions for creating a Google Ads conversion tracking 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 web store Google Ads feature ads your Google Ads conversion tracking tags to your website pages.

To enable Google Ads:

  1. In NetSuite, go to Setup > SuiteCommerce Advanced > Configuration.

  2. Select your website and domain.

  3. Click Configure.

  4. In the Configuration record, navigate 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.

    Note

    Do not edit the original source files directly. See Customize and Extend Core SuiteCommerce Advanced Modules 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](https://support.google.com/adwords/answer/1722054/) , googleAdWordsConversion: { id: 0 , value: 0 , label: '' }