Books > Help Center > Google Analytics > Google Analytics >  

How do I setup Google Analytics tracking for my GiftTool pages?

Google Analytics enables you to track the visitors to your GiftTool pages, and generates reports that will help you with your marketing.

GiftTool officially supports and recommends using Universal Analytics (analytics.js), which is the latest version of Google Analytics and offers more flexibility for developers to customize their implementations. Nevertheless, GiftTool also supports Classic Analytics (ga.js). Although you're not required to upgrade to a Universal Analytics tracking code at this time, we strongly suggest you do. Classic Analytics (ga.js) tracking codes will be retired in the future.

Google Analytics is a trademark of Google Inc.

Step 1 - Get your Google Analytics tracking ID Back to Top

If you already have a Google Analytics account, find your tracking ID.

If not, get a Universal Analytics account from Google:

  1. Go to the Google Analytics website and click the Create an Account link in the top right corner. You will need a Google account before you can create a Google Analytics account.
  2. When filling in the form:
    • Select Website, not Mobile App.
    • Enter your organization’s website URL address, not
  3. Click the Get Tracking ID button. Your Tracking ID will be formatted as follows: UA-XXXXXXX-X. You will need this tracking ID to complete the next step.
Step 2 - Complete the setup in your GiftTool account. Back to Top
  1. Login to your GiftTool account and click the Account link located in the top right corner.
  2. From the Google Analytics section of the Account menu, click the Google Analytics button.
    1. Input your Google Analytics tracking ID. Your tracking ID will be formatted as follows: UA-XXXXXXX-X. Learn how to find your tracking ID.
    2. Select which version of Google Analytics you are using: Classic or Universal.
    3. If you have selected Universal Analytics (analytics.js):
      • Enter your organization's website domain(s) (such as or
      • Optionally, check Anonymize IP if you wish to have your Google Analytics account anonymize IP addresses coming from your GiftTool pages. Learn more from Google about IP Anonymization.
    4. Optionally, enable basic Ecommerce, allowing GiftTool to pass through line item transaction information to your Google Analytics account. You must also login to Google Analytics and enable Ecommerce tracking (see instructions in Step 4 below).
    5. Click Save.
Step 3 - Exclude from your referrer domains Back to Top

To avoid transactions made through GiftTool appearing as referrals through Google Analytics, you will need to add to your Referral Exclusion List. This feature is only available if you're using Universal Analytics.

Exclude from your referrer domains by following Google's instructions for Adding a referral traffic source.

Step 4 - [Optional] Enable Ecommerce in your Google Analytics account Back to Top

If you have checked the box to enable Ecommerce tracking in Step 2d above, then you must also enable Ecommerce Tracking in in your Google Analytics account. Note that GiftTool currently only supports Basic Ecommerce, not Enhanced Ecommerce.

The following steps are adapted from the Google Analytics Help Center, where you can find information about enabling Ecommerce:

  1. Log in to Google Analytics at
  2. Click Admin, at the top of any page in Google Analytics.
  3. Select an account from the dropdown in the ACCOUNT column.
  4. Select a property from the dropdown in the PROPERTY column.
  5. In the VIEW column, select Ecommerce Settings.
  6. Click the toggle ON
  7. Click Submit.
Step 5 - [Optional] Change the links on your website Back to Top

Cross domain tracking makes it possible for Google Analytics to see sessions on two related sites (such as your website and your GiftTool pages) as a single session. This is sometimes called site linking.  Note that GiftTool does not support Google Tag Manager.

To set up cross domain tracking for multiple top-level domains, you need to modify the Google Analytics tracking code on each domain. Learn more from Google about how to Set up cross domain tracking by modifying the tracking code.

In the examples provided by Google:

  • The primary domain is your main website, such as
  • The secondary domain is
  • If you have other domains for your events or other microsite activities, such as or, follow the instructions for three or more domains.
Step 6 - [Optional] Are you auto-populating your donation page with a modified URL? Back to Top

If you are auto-populating your donation page with a modified URL, you can ask your developer to decorate your modified URL.

Since linker parameters are only valid for 2 minutes, if you decorate all the links when the page loads, and a user is on the page for more than 2 minutes, all of the links will have invalid linker parameters.

To solve this, you can decorate links in the mousedown and keydown event handlers so that links gets decorated when either the mouse is depressed or the link is navigated to via the keyboard. This ensures that:

  • The linker parameters do not timeout
  • Functionality works using the different mouse buttons and taps
  • Target attributes on HTML links are preserved

Learn more from Google about Decorating HTML Links.

Was this information helpful?
Yes   No

Search Help Center

Today's Top 10 Articles
  1. Hosting a secure image
  2. How do I change a privacy policy for Pledge-a-thons?
  3. How do I create a membership waiver?
  4. Effectively spread the word about your pledge-a-thon
  5. How do I delete a Custom Order report?
  6. How do I quickly check to see who owes money for an event?
  7. 2010-10-13: New functionality for Pledge-a-thon
  8. How do I create an event?
  9. Extend fundraising capabilities through participant networks
  10. What Payment Gateways are supported by GiftTool?