Google Ads

This topic applies to

Applies to

Commerce Web Stores

 

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.

To create a conversion tag and auto-tagging:

  1. Login to Google Ads.

  2. Go to Tools > 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 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, select your account.

  4. In the Property section select your site.

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

  6. Select your Google Ads account then click Continue.

  7. Click New Link Group.

  8. Select your Google Ads account then click Continue.

  9. Enter a link group title.

  10. Click Link accounts.

  11. Click OK.

  12. Login to your Google Ads account.

  13. Click Tools.

  14. Click Linked Accounts under Setup.

  15. Click Details under Google Analytics.

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

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

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 Ads Customer ID), Google Adwords Label, and Adwords Value.

  6. Click Save.

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: '' }