Referral Tracking with Google Analytics
By Steph Skardal
March 25, 2011
It’s pretty easy to use Google Analytics to examine referral traffic, including using custom referral tracking codes. Here’s how:
Once you have referrers or affiliates that plan to link to your site, you can ask that those affiliates append a unique tracking ID to the end of the URL. For example, I’ll use the following referral ID’s to track metrics from Milton and Roger’s websites to End Point’s site.
After you’ve seen some traffic build up from those affiliates, you must create two Custom Advanced Segments in Google Analytics:
|Follow the link to create an Advanced Segment.||The New Advanced Segment page.|
Once you’ve landed on the New Advanced Segment page, you create a custom segment by dragging “Landing Page” from the “Content” tab to define the criteria, and set it to contains your unique referral identifier.
|Roger’s Referral Traffic||Milton’s Referral Traffic|
That’s it! You now have custom Advanced Segments defined to track referral or affiliate data. You can select the Advanced Segments from any metrics page:
All traffic compared to referral traffic from Milton and Roger’s sites.
Traffic from Milton’s website only.
You can also examine conversion driven from the affiliate. For example, how does conversion driven by one affiliate compare to the entire site’s conversion? On our site, conversion is measured by contact form submission — but on ecommerce sites, you can measure conversion in the form of purchases relative to different affiliates.
Roger’s Referral conversion versus conversion of the entire site. Roger’s doing pretty good!
One potential disadvantage to this method for affiliate tracking is that you are creating duplicate content in Google by introducing additional URLs. You may want to use the rel=“canonical” tag on the homepage to minimize duplicate content in search engine indexes. A very similar alternative to this method to bypass adding a referral ID would be to create custom segments defined by Source and Referral Path, however, the method described in this article is valuable for sites that may have a redirect between the referral site and the landing URL (http://www.miltonsblog.com/ links to http://www.endpointcorp.com/?ref=milton redirects to http://www.endpoint.com/?ref=milton retains the referral information).
Google Analytics is a great tool that allows you to measure analytics such as the ones shown in this post. It’s fairly standard for our all of our clients to request Google Analytics installation. Google announced last week that a new Google Analytics platform will be rolled out soon, which includes a feature update to multiple segments that will allow us to examine traffic from multiple affiliates without showing “All Visits”.
Note that the data presented in this article is fictitious. I don’t think Milton and Roger will be linking to End Point’s site any time soon!