Blog Traffic Analysis Demystified: Part - 4 (Link Tracking)

So far in this series we have learned about some basic metrics to better understand the information provided by our web analytics programs. How about tracking individual links and tracking downloads? Let's dig in deep and try to understand how to use Google Analytics to better understand the visitors behavior on our blog by tracking links.

Tracking Links With GA

Tracking Outbound/Internal Links And Downloads

If our blog's bounce rate is high, we may be interested in identifying 'Exit Pages' that are getting maximum bounces. Just by viewing the 'Exit Pages' report, we cannot correctly determine those outbound links through which we are losing our traffic. For that, we can add some analytics code to those outbound links that we want to track. Suppose, we want to track an outbound link 'http://www.externalsite dot com/'. For that, we have to add one more attribute to the link code as shown below.

<a href="" onClick="javascript: pageTracker._trackPageview('/outgoing/');">

The directory structure we have used is a logical one and we can use any name for it. For example, you can name it as '/outlinks/3rdlinkonXpage'. But to keep it simple and easy to understand we can create a logical directory 'outbound' to track all outbound links on our blog. Similarly if we are tracking internal links, we can use the directory structure as '/inbound/somelinktopost....'.

Note: To make it work correctly, your analytics code must be placed before _trackPageview calls. The ideal place is just after <body> tag as shown below.

/* Analytcis Code that you normally place just before </body> tag at bottom */
.trackPageview() call
.trackPageview() call

Fine Tuning Tracking

Now let's go one step further and take some a bit complex case. It can be possible that a same external link is present in several blog posts and you want to track each one of them. In this case, the best way to track identical outbound links is to add an extra attribute to the logical directory structure to make it more understandable while viewing the reports.

You can add post ID to the directory structure to identify a common external link that is present in multiple posts. Here is an example.


In this example, same link in present in two posts having post ID's 234 and 12. After applying the modified directory structure as shown above, you can easily identify which post's link was clicked. A more friendly directory structure can be made by picking the first 20-30 characters of post title and using it in place of post IDs.

Similarly, we can also track downloads that we may offer on our blog. For example, suppose you are offering Blogging.pdf and seo-secrets.mp3 (2 downloads) free to your subscribers. To track these downloads, add the .trackPageview() call to the download links with a proper directory structure.

<a href="" onClick="javascript: pageTracker._trackPageview('/downloads/PDF/Blogging.pdf');">

<a href="" onClick="javascript: pageTracker._trackPageview('/downloads/audio/seo-secrets.mp3');">

Note the directory structure used for tracking the links. In the above example, all downloads will be tracked through a logical directory downloads. We can further divide the downloads according to the file type by giving additional sub-directory for each file type.

Important: To view all the reports related to link tracking, go to 'Content -> Top Content' in your GA dashboard.

Series Posts

1 . Blog Traffic Analysis Demystified: Part - 1 (Hit Rate)
2 . Blog Traffic Analysis Demystified: Part - 2 (Sessions)
3 . Blog Traffic Analysis Demystified: Part - 3 (Advanced Segmentation)

If you enjoyed this article, get email updates (it's free).

blog comments powered by Disqus

NEXT POST: Newer Post PREVIOUS POST: Older Post Home

About Rajeev Edmonds

MintBlogger author - Rajeev EdmondsRajeev Edmonds has been blogging since 2006 about digital marketing, social media and of course about problogging. He specializes in WordPress installation and Thesis theme customization. He is the founder and editor of MintBlogger where he blogs about new media strategies.

Since April, 2012, he's making his living entirely from his blogging efforts. He holds a post graduate degree in computer applications and loves to dig in CSS/HTML code. Read more →

Get Custom Design For Your Blog

Website showcase Nothing converts better then a unique blog design with a branded look n' feel.

Get a unique design for your blog that brings more leads and prospects for your business. Give a new skin to your existing theme to stand out in the crowd. Change theme and see the difference!

Request a Free Quote NOW!

Start Your WordPress Blog

WordPress logo Are you planning to start your own self-hosted WordPress blog? You can get one today!

This is right time to get started. Claim complete control over your WordPress blog hosted on a reliable and powerful web server. Be the owner of your WordPress blog without any restrictions.

Claim Your Free Blog Setup NOW!