Basic Author |   7 Articles

Joined: July 26, 2010 United States
Was this article helpful? 1 1

How to Track a PDF Download on Your Site!

By the emerging E books market in the recent years, Webmasters or website owners started to find and explore ways to track different actions visitors take on their website, or we can call it from now an "Event".

So how we are going to Track these Events? I m going to list here the steps that let you track your Downloads or any event on your site with Google Analytics;

Setup:

  1. First Install Google Analytics Tracking Code on your site.its basically very easy if you have a Wordpress site, where there is a lot of plugins facilitate this process (ex. Google Analytics for WordPress plugin)
  2. Create a Category (or Object), (for example if you want track Videos you can call MyVideos, or MyEbooks, My Excel etc...).
  3. Create an action A string that is uniquely paired with each category, and commonly used to define the type of user interaction for the web object.
  4. Go to the post or page where your PDF Link Download and change it to this format.

<<a href="/locating-of-your-pdf.pdf" onclick="_gaq.push([' <a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiEventTracking.html#_gat.GA_EventTracker_._trackEvent">_trackEvent</a>  ', 'category', 'action', ]);">click me/or Download Now</a> <br type="_moz">

Once your links are setup and you can view the data in the Content -> Event Tracking section on Google Analytics Profile Account.

Other ways to use Event Tracking
I've also been using event tracking for monitoring clicks on my external links. It provides a good analytics tips to find out what links your visitors are using.

As you can see, Implementing event tracking is quite simple, you just need to add a simple onClick javascript action fill that with the _trackEvent syntax and you're done.

Wissam Dandan is the Founder and Internet Marketing Specialist of LebSEO Design a SEO company. LebSEO Design is an Florida based web design company that offers creative web Development, strong and robust development and solid SEO Services to clients all over Lebanon and the Middle East.

Article Source: http://EzineArticles.com/?expert=Wissam_D