When setting up the Google analytics integration at RaiseDonors, you have the ability to completely customize the code integrating with Google Analytics. H1 - Landing Page Code For the Landing Page Code, you'll want to head over to your GA profile and grab the tracking code. This can be google's 'Legacy' code or it can be the newer, 'Universal' code. Here is an example that you can find in your GA account. You’ll notice we have injected a token or two. These tokens are swapped with the real values during the donation process. You are free to adjust, move, and edit the implementation below; you can find a full list of all the tokens below. NOTE :: These are templates we use in RaiseDonors to get you started. When you select “advanced mode”, we’ll pre-populate the entries for you with these code template/examples. H2 - Universal H2 - Legacy Please be sure to replace “{your-domain}” with the domain name of your organization. ex: cnn.com (no http:/ or www). H2 - Tokens for Landing Page Code You are welcome to add any customizations you like to this script. Here are some of the tokens we provide for this script, REPLACE_ORGANIZATION_NAME :: The organization name of your account in RaiseDonors. REPLACE_ORGANIZATION_URL :: Your unique url in RaiseDonors. ex: http://raisedonors.com{your-url}/{your-page-name} REPLACE_RANDOM_NUMBER :: A random 5 digit number REPLACE_PAGE_PUBLIC_TITLE :: The PUBLIC title of the page this donor is on REPLACE_PAGE_TITLE :: The INTERNAL title of the page this donor is on REPLACE_PAGE_PROD_CODE :: If your page has an associated product, this will provide the ‘code’ you have supplied. REPLACE_PAGE_PROD_NAME :: If your page has an associated product, this will provide the ‘name’ you have supplied. REPLACE_GOOGLE_ANALYTICS_ACCOUNT_ID :: Your google analytics account Id (ex: UA-xxxxxx-x). H1 - Thank you Page Code For the Thank you Page Code, we’ve provided an example below. The basic structure is to include the same code from the Landing page and add in the e-commerce code. We’ve taken the liberty to provide our own implementation for you, but feel free to customize as you see fit. You’ll notice we have injected various tokens. These tokens are swapped with the real values during the donation process. You are free to adjust, move, and edit the implementation below; you can find a full list of all the tokens below. H2 - Universal with E-Commerce https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce H2 - Legacy with E-Commerce Please be sure to replace “{your-domain}” with the domain name of your organization. ex: cnn.com (no http:/ or www). https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApiEcommerce H2 - Tokens for Thank You Page Code You are welcome to add any customizations you like to this script. Here are some of the tokens we provide for this script, REPLACE_DONOR_FNAME :: First name of donor REPLACE_DONOR_LNAME :: Last name of donor REPLACE_DONOR_EMAIL :: Email address of donor REPLACE_DONOR_ID :: RaisedDonor’s unique ID of this donor REPLACE_DONOR_IPADDRESS :: IP address of donor when placing donation. REPLACE_DONOR_BILLING_CITY :: City from billing address of donor (and donation). REPLACE_DONOR_BILLING_STATE :: State from billing address of donor (and donation). REPLACE_DONOR_BILLING_COUNTRY :: Country from billing address of donor (and donation). REPLACE_MOTIVATION_CODE :: Motivation code supplied for this page. REPLACE_SOURCE_CODE :: Source code supplied for this page. REPLACE_DONATION_TOTAL_AMOUNT :: Amount of donation.\ REPLACE_DONATION_ID :: RaiseDonor’s unique ID of this donation. REPLACE_DONATION_STATUS :: Status of this donation (Approved, Declined, Voided, Refunded, Error). REPLACE_ORGANIZATION_NAME :: The organization name of your account in RaiseDonors. REPLACE_ORGANIZATION_URL :: Your unique url in RaiseDonors. ex: http://raisedonors.com{your-url}/{your-page-name} REPLACE_RANDOM_NUMBER :: A random 5 digit number REPLACE_PAGE_ID :: RaiseDonor’s unique ID of this page. REPLACE_PAGE_PUBLIC_TITLE :: The PUBLIC title of the page this donor is on REPLACE_PAGE_TITLE :: The INTERNAL title of the page this donor is on REPLACE_PAGE_PROD_CODE :: If your page has an associated product, this will provide the ‘code’ you have supplied. REPLACE_PAGE_PROD_NAME :: If your page has an associated product, this will provide the ‘name’ you have supplied. REPLACE_GOOGLE_ANALYTICS_ACCOUNT_ID :: Your google analytics account Id (ex: UA-xxxxxx-x). REPLACE_PAGE_TITLE