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 gifttool.com.
  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 mycharity.org or mywebsite.com).
      • 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 gifttool.com from your referrer domains Back to Top

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

Exclude gifttool.com 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 www.google.com/analytics
  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 mycharity.org.
  • The secondary domain is gifttool.com
  • If you have other domains for your events or other microsite activities, such as myevent3.org or myconference4.com, 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. How does the credit card payment process work?
  2. How do I create a donation appeal?
  3. How do I issue a membership card to a pending member?
  4. How do I cancel and reissue a tax receipt?
  5. Why did we not receive the confirmation email?
  6. About Shopping Cart Reports & Graphs
  7. How do I find my Google Analytics Tracking ID?
  8. Creating a table within the HTML editor
  9. What is a Payment Gateway, and why do I need one?