Configuring GUA

This topic applies to

Applies to

SuiteCommerce | SuiteCommerce Advanced


To use Google Universal Analytics, you must have a GUA account and a website property defined for the website you want to track. When you create the account and property, GUA assigns you a unique tracking ID for the property and generates the tracking code. You use the tracking ID for implementing GUA. For Site Builder and External Sites, the tracking code is placed on the pages of external sites and also in your site builder website setup record.

Setup that you must perform in your GUA account includes enabling commerce tracking and defining referral exclusions. See the following help topics for GUA configuration information:

Set Up GUA Account and Website Property

If you do not have a GUA account and website property, then use the following procedure to create them. If you already have a GUA account, then see Step 1: Retrieve Tracking Code from an Existing GUA Account for instructions on retrieving your GUA Tracking ID and tracking code if needed.

To set up your GUA account:

  1. Go to

  2. Click the Sign in link and choose Google Analytics.

  3. Click the Sign up button.

  4. Select Website for what you would like to track.

  5. In the Account Name field, enter the name for your account.

  6. Enter the name of your site in the Website Name field. This serves as the name for the website property in GUA. Each GUA account may contain multiple website properties.

  7. In the Website URL field, specify the URL for your external site.

  8. Select your industry from the Industry Category dropdown list.

  9. Select your country and time zone from the Reporting Time Zones dropdown lists.

  10. Specify your sharing options.

  11. Click Get Tracking ID.

  12. Accept the terms of service. This displays the information for your newly created account and website property.

  13. Copy the tracking ID and paste it into a text editor document so you have it for later.

  14. If you are implementing GUA on a Site Builder or an External Site (WSDK), copy the website tracking code and paste it into a text editor document so you have it for later. You will need to make a minor modification to this code for cross-domain tracking. See Step 2: Update Tracking Code for Cross-Domain Tracking.


    Website tracking code is not needed for Commerce web stores, because the GUA module puts the tracking code in place for you.

Set as Ecommerce Site

For GUA to report ecommerce activity, you must enable ecommerce tracking in your GUA account.

To enable ecommerce tracking:

  1. Login to your GUA account.

  2. Select the account that contains the website property.

  3. Select the website property.

  4. In the View section, select Ecommerce Settings.

  5. Under Enable ecommerce, set the Status to On.

  6. Click the Next step button.

  7. Click the Submit button.

Define Referral Exclusions

Google Universal Analytics enables you to exclude referring domains by creating referral exclusions. These exclusions help promote more accurate referral traffic reporting. Referral exclusions are especially useful if you use a third party shopping cart. For example, when a visitor comes to your site and purchases a product, at checkout, he or she is redirected to the third party site for checkout, and then returned to your site after checkout. Without the referral exclusion, the first session ends when the visitor is redirected to the third party site, and a new session begins when the visitor is returned to your site after checkout. This return to your site is seen as a referral from the third party site. As a result, the session count is skewed because the first session did not follow the visitor throughout the entire transaction. By adding a referral exclusion, the same session is used from start to finish, presenting more accurate referral traffic results.

Referral Exclusions for a Commerce Web Store

If you use NetSuite as your checkout domain, it is important to set a referral exclusion for the shopping domain. If you do not set the referral exclusion, the shopping domain appears as a self-referral and skews your data.


If you use a single secure domain for checkout and shopping, there is no need to create referral exclusions. Referral exclusions are necessary only when the checkout and shopping domains are different. See Set Up Domains for Web Stores.

Referral Exclusions for Site Builder and WSDK Site

If you are using an external catalog site (WSDK) and Site Builder with Site Builder Extensions, you should create referral exclusions for the domain of your Site Builder or external site.

To set up referral exclusions:

  1. Log in to your GUA account.

  2. Click Admin.

  3. Select the Account.

  4. Select the Property.

  5. Under Property, click Tracking Info.

  6. Click Referral Exclusion List.

  7. Click Add Referral Exclusion.

  8. Enter the domain to exclude. This should be the shopping domain or domain of your external site.

  9. Click the Create button.