Update 10/23/2012 – Google’s recent Panda updates appear to have stopped this from working. We’re developing a new method that we will make available as soon as possible!
Google Analytics is an awesome (free) tool for tracking website visitors, but unfortunately all of the tracking information is aggregate. In other words, you can see what keywords visitors use to arrive at your website, but you can’t see which of those keywords produces a sale.
If you run a website that sells chili beans, and 90% of your sales come from people who arrive at your website by searching for “refried beans,” you wouldn’t know it. This is true even if you use Google Ads; You can see that people are clicking on your ads, but you still can’t tell which of your ads produces the highest number of sales.
Your refried beans ad might not even have the highest CTR, but if you knew that when it is clicked, the customer almost always bought a case of refried beans, chili powders, a cook book and a crock pot, suddenly you can see that the ‘refried beans’ ad is very valuable, and more resources should be dedicated to it. So, you could potentially save a lot of money on SEO and/or Adwords if you knew which keywords were most commonly used by the customers who are most likely to buy.
The following method will track:
- Source: Where the visitor came from
- Medium: Organic, direct, PPC, etc.
- Term: This is the search term (keyword) used to arrive at the site
- Content: Use for a/b split testing
- Referurl: The URL that referred the visitor to your site
- Campaign: Used with Google Adwords, or any scenario where you have control over the referring URL.
Step 1.
Create the following custom fields in Infusionsoft.
- GaSource
- GaMedium
- GaTerm
- GaContent
- GaCampaign
- GaReferurl
* Note, if you change the field names (they are case sensitive) be sure to change the field names in the java script file in step 3.
Add these custom fields to the first webform in your sales funnel, make the fields hidden. Then add onSubmit=”javascript:populateHiddenFields(this);” somewhere in the <form> tag.
Step 2.
Click here to download the tracking script. Unzip the file and upload it to your website.
Step 3.
Add the following code to your site header, just above the </header> tag:
<script type="text/javascript" src="http://www.google-analytics.com/urchin.js"></script>
<script type="text/javascript" src="http://www.YOURSITE.com/path_to_the_uploaded_script/ga_longerdays.js"></script>
Replace the variables in the url above.
That’s it. Enjoy!
