14Dec2009

A guide to Smarter Tracking Techniques for Affiliates

Smarter Tracking

Regardless of what website you have, are you tracking your visitors? The usual answer I get to that question, is “no”. However, if you’re not tracking your visitors, you should be. If you don’t know where to start, use Google Analytics because it’s effective and free.

The aim this article is to get you using some slightly more advanced visitor tracking enabled on your website. I’m writing the article from the perspective of an affiliate marketeer, however this Google Analytics advice can be applied to any website, such as landing pages, online shops, blogs, and so much more.

Affiliate Marketing – Very Quick Intro

Affiliates are people who advertise products and services that you can buy from a third-party merchant. In return for a sale, affiliates earn a commission from that merchant. To reach a larger audience and to save merchants hassle, affiliate networks look after the tracking and payments from merchants to affiliates.

Affiliate Link Tracking Codes

Typically as an affiliate, you create a direct link to a product or service page (called a deep link) that you encourage your visitors to click. You typically generate these deep links using the affiliate network’s deep link generator too.

As part of that deep link, you can include a reference. For example, a deep link on the Webgains network looks a bit like this (programme and affiliate IDs have been changed to protect the innocent!):

http://track.webgains.com/click.html?wgcampaignid=5678&wgprogramid=1234&clickref=my-useful-reference&wgtarget=http://www.mytargeturl.com/product.html

And a deep link via on the AffiliateWindow network looks like this:

http://www.awin1.com/cread.php?awinmid=123&awinaffid=456789&clickref=my-useful-reference&p=http%3A%2F%2Fwww.mytargeturl.com%2Fproduct.html

I use a different reference for each product, and therefore affiliate link that I have to the merchant. Here are a few examples.

  • Product A – http://www.affnetwork.com?merchant=999&product=1&clickref=product-a
  • Product B – http://www.affnetwork.com?merchant=999&product=2&clickref=product-b
  • Product C – http://www.affnetwork.com?merchant=999&product=3&clickref=product-c

When you get a commission, that click reference shows up next to the commission that you’ve made (in the reports generated by the affiliate network). For example, here’s a small slice of my earnings via Webgains:

Webgains Transaction Report (click to enlarge)

In the diagram above, you can see the date of the transaction, the merchant, the commission and the click reference. That means I know exactly which product and link is generating a commission for me.

What’s the key benefit? I can determine which products make me money, and therefore spend more time on those product pages to earn even more! You basically get extremely valuable information about the products that either do or do not earn you money.

However, that’s only half the story. What about tracking what buttons/links/images your visitors are clicking on? Don’t forget, only a small number of visitors to your site will actually purchase something from your merchant.

We also want to know how successful we are at sending visitors to your merchant. That’s where we use Events in Google Analytics.

Google Analytics Events

Google has a very comprehensive guide to events, so I won’t repeat it here. Essentially it’s an extra bit of javascript code that you add on to your outgoing links that allows you to track some information when a visitor clicks on that link.

This is ripped straight out of the Google’s Event Tracking Guide:

pageTracker._trackEvent(category, action, optional_label, optional_value);

  • category (required) – The name you supply for the group of objects you want to track.
  • action (required) – A string that is uniquely paired with each category, and commonly used to define the type of user interaction for the web object.
  • label (optional) – An optional string to provide additional dimensions to the event data.
  • value (optional) – An integer that you can use to provide numerical data about the user event.

This is how I suggest that you use it:

<a href="#" onClick="pageTracker._trackEvent('Affiliate', 'Click', 'The Product Name');">Shop Now button, etc</a>

This means we group all outgoing clicks to affiliates under the category ‘Affiliate‘, and we call the action a ‘Click‘, and we label each link for each affiliate with ‘The Product Name‘. I’ve ignored the value parameter because we don’t need it. You’ll probably be using big red Shop Now buttons rather than a text link too.

Assuming that tracking code exists on all links that go out to your merchants, that means we’re tracking all clicks by your visitors to your merchants. We are also tracking exactly what link they are clicking, i.e. what product is causing them to visit the merchant.

Why bother? Well, we need a screenshot.

Event Tracking Labels (click to enlarge)

This is a summary of labels from one of my websites, namely my Spy Gadgets mini site (Content > Event Tracking > Labels in Google Analtyics). The chart shows the number of clicks per day on one of my affiliate links. The table below the chart shows the most popular products, i.e. those which received the most clicks out to the merchant.

What’s the key benefit? You discover which products encourage clicks to the merchant. That information can then be used to work out where you should focus your attention with the view of getting further clicks to the merchant (and hopefully a sale too!).

Conclusion

I’ve shown you simple ways to track what visitors click on, and what products/links actually generate the commission. That information will help you avoid speculation and actually focus on products/links that work for you. You also get data that allows you to measure the changes that you make to see if they’re an improvement.

Those of you who are experts on Google Analytics will notice that I am just scratching the surface. That’s intentional. I don’t want to give you all of my juicy tricks do I? :)

Author
Dan Harrison

About the Author

Dan has been creating websites since 2003, and is 100% self-taught. Through lots of trial and error, Dan has learnt how to create successful websites, sharing his knowledge on RunningAWebsite.com. Dan is also a highly experienced Wordpress Developer, offering bespoke Wordpress development services in addition to his free Wordpress plugins.

Dan Harrison has written 38 articles on Running A Website.

Sharing is caring.
  • Subscribe to our feed
  • Share this post on Delicious
  • StumbleUpon this post
  • Share this post on Digg
  • Tweet about this post
  • Share this post on Mixx
  • Share this post on Technorati
  • Share this post on Facebook
  • Share this post on NewsVine
  • Share this post on Reddit
  • Share this post on Google
  • Share this post on LinkedIn

Discussion

11 responses to "A guide to Smarter Tracking Techniques for Affiliates"

  • Simon says:

    Nice article !

    One slightly annoying downside to using an affiliate service like the one described is that the link to your site won’t count as a google backlink :(

    I wonder if any of the open source cms have affiliate modules that would improve SEO whilst at the same time save paying for an affiliate tracking service ?

  • Dan Harrison says:

    Thanks Simon. There’s a lot of obsession about always getting a backlink. However, I would always prefer a sale than a backlink from affiliates. It keeps them motivated to send me more potential buyers then.

    Dan

  • John Essex says:

    Hi Dan,

    Nice post and some useful tips. Whats your experience been of webgains, have you used them for long? How does it compare with Amazon affiliates?

  • Dan Harrison says:

    Hi John. Webgains and Affiliate Window are easily my favourite affiliate networks. Been using Webgains for years. Simple interface, fast, good team, easy to use.

    Amazon Associates is ok, but it’s not very good when it comes to tracking references (i.e. there aren’t any). I do use other networks, but I really dislike those. I use them because I must.

  • Simon says:

    Another way to write affiliate links is as follows. This method preserves “back links” when creating an affiliate link.

    Using the webgains example from above, use the following link format

    http://www.mytargeturl.com/product?wgcampaignid=5678&wgprogramid=1234&clickref=my-useful-reference

    Then in your target url, you need a bit of code to make your web server build and send the original request as shown above. T

  • Dan Harrison says:

    Hi Simon,

    Not sure I’m with you… and even still, there’s an argument for masking URLs. Namely that you get higher CTRs if a link doesn’t look like an affiliate link.

    Dan

  • Simon says:

    Ok, in which case, how about the following as a url

    http://www.mytargeturl.com/my_product_name?5678_1234_my-useful-reference

    The php code decodes the “backlink friendly” url and fires off a suitable request to the affiliate tracking system.

    You also need to do some .htaccess configuration to make this work.

    Certainly, much more complicated than your approach for most people but if you’re able to do more advanced server configuration / programming, you get better SEO ?

  • Dan Harrison says:

    Well, the article is about tracking to improve sales. I don’t care about giving merchants a backlink, actually, I particularly don’t want them to have a backlink. Especially if I am trying to rank higher than them for a product that they sell.

    I personally use mysite.com/recommends/the-product-name, which does a redirection to the product using htaccess.

    However, you keep talking about SEO. From who’s point of view are you talking? It sounds as if you’re talking about from the merchant’s point of view.

    Dan

  • Simon says:

    ah, yes. my suggestion is from the point of view of the merchant … :)

  • John Essex says:

    Just been taking a look at the webgains site, I couldn’t find anything about what commission they pay and what sort of products? Are they just a networking site that connect you with retailers?

  • Dan Harrison says:

    John, they offer a wide variety of commissions, from flat rates to percentages, but it’s heavily dependent on the merchant. Webgains are a network who manage the tracking, payment, link tracking and creatives for merchants.

    Dan

Leave a Comment