Books
>
Help Center
>
Google Analytics
>
Google Analytics
>
Google Analytics and your GiftTool account
menu

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 Google Analytics 4, which is the latest version of Google Analytics and offers more flexibility for developers to customize their implementations.

Google Analytics is a trademark of Google Inc.

Step 1 Get your Google Analytics tracking ID top

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

If not, get a Google Analytics 4 account from Google:

  1. Go to the Google Analytics website and click the Get started today 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 Measurement ID button. Your Measurement ID will be formatted as follows: G-XXXXXXXXXX. You will need this ID to complete the next step.
Step 2 Complete the setup in your GiftTool account. top
  1. Log into your GiftTool account and click Account in the left navigation.
  2. Click Google Analytics.
    1. Input your Google Analytics measurement ID. It will be formatted as follows: G-XXXXXXXXXX. Learn how to find your measurement ID.
    2. Select the version of Google Analytics you are using. Note that Google has deprecated Classic and Universal Analytics.
    3. Optionally, enable basic ecommerce tracking, 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).
    4. Click Save.
Step 3 Exclude gifttool.com from your referrer domains top

To avoid transactions made through GiftTool appearing as referrals through Google Analytics, you will need to add gifttool.com to your List of unwanted referrals.

 

Exclude gifttool.com from your referrer domains by following Google's instructions for Identify unwanted referrals .

Step 4 [Optional] Enable Ecommerce in your Google Analytics account top

If you have checked the box to enable ecommerce tracking in Step 2 above, you need to also setup ecommerce tracking in your Google Analytics account. Note that GiftTool currently only supports basic ecommerce tracking.

 

Learn more from the Google Analytics Help Center:

Step 5 [Optional] Change the links on your website 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? 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?