Counting Clicks: Using Google Analytics to Monitor Affiliate Traffic
As affiliates, many of us have accounts with multiple networks and independent programs. However, getting a quick snapshot of our daily clicks isn’t always the easiest task in the world and can be time consuming. Fortunately, with a slightly different approach to adding links to a website, we can give ourselves a one page overview of what got clicked today.
For the purposes of this example, I’ll utilize Google Analytics to monitor affiliate click outs. Start by logging into your account, and look under the Content heading. You’ll find a section called Events. Events differ from Goals in that they can happen without a URL being called. For instance, watching a video on your website could be an Event.
Luckily for affiliates, there’s the option to utilize Events to show clicks on affiliate links by adding some very simple code to your HTML. It’s called an “On Click†Event, and here’s how you can turn a standard link into a source of valuable information. If you’re new to Events, I suggest checking out Google’s official explanation to help familiarize yourself.
Customizing Your Links
A standard Avantlink affiliate link, for example, looks like this:
http://www.avantlink.com/click.php?tt=ml&ti=XXXXXX&pw=XXXX&ctc=YYYYYYYYYYYYYY
The XXXXXs in the URL represent your specific account info, and the CTC is something you can set up for a specific campaign inside Avantlink. Most networks provide this kind of tagging. So in HTML, your link structure would traditionally look like:
<a href=â€http://www.avantlink.com/click.php?tt=ml&ti=XXXXXX&pw=XXXX&ctc=YYYYYYYYYYYYYYâ€>Buy Now</a>.
To trigger an event that gives you the tracking data we want, add the following:
<a href=â€http://www.avantlink.com/click.php?tt=ml&ti=XXXXXX&pw=XXXX&ctc=YYYYYYYYYYYYYY†onClick=â€_gaq_push([‘_trackEvent’, ‘Category’, ‘Action’,’Label’,’Value’â€]);â€>Buy Now</a>
You’ll replace Category, Action, Label, and Value with specific terms that have meaning to you. Now going forward, data for that link will show up in Google Analytics under Events.
Integrating Links in Content
So let’s say you’re writing a blog post about a specific North Face jacket that’s on sale at an Avantlink merchant this week. We can do this:
onClick=â€_gaq_push([‘_trackEvent’, ‘Affiliate-Click’, ‘Blog-Clickout’,’North-Face-Jacket’,’16.7’â€]);â€
Going back to the original link setup, we can see that the Category is Affiliate-Clickout, the Label is Blog-Clickout (especially if you want to separate blog clicks from datafeed clicks), and North-Face-Jacket is the Label. You’ll also note I used 16.7 as the Value.
For me, I like to put in the potential commission in the Value spot. Of course, I still don’t know if the transaction completed at the merchant site, but it will be showing potential earnings in Google Analytics. You may also want to use your average EPC for that merchant as the Value. It will give you a better estimate of your daily performance.
Reviewing Your Events
Viewing the results of your Events in Google Analytics works almost like any other screen, meaning you can select a Secondary Dimension. If you pull the drop down to indicate Source, you’ll get a list of all your Events, and what traffic source sent the visitors that are clicking your affiliate links. This parameter will tell you if Google is still your prime source of good traffic or if Facebook has taken first place.
If you’ve been looking for a straightforward way to measure your site traffic, using Events will help you get a better understanding of traffic that’s actually clicking through to your merchants. As an affiliate, that’s a huge leap forward towards making more money.



Pingback: ReveNews: Google Analytics and Affiliate Clicks | Kevin Webster
Pingback: Marketing Day: February 24, 2012
Pingback: Counting Clicks with Google Analytics