How to Track Events, Links / Images Traffic in Google Analytics?

"That which is measured, Improves". Having an entrepreneurial mind set, you would keep improving your blog and websites which more strategies. The best way to keep track of the success is to measure how they are performing and not by just going with your gut-feeling.

The same is the case with various Inbound or Outbound links that you might want to keep track of. There are can affiliate banners, eBook download links, a certain advertisement or a webinar call, what ever may that be, you can very easily track them in Google Analytics with the help of 'Event tracking'.


Note: There is a quick confusion I need to make clear here is that with Event tracking in Analytics, you don't need to setup anything within Analytics it' self. You don't even need to open it.

Simply add the follow link of code for your links that you want to track and Analytics will  start tracking traffic for it right away. After 30min to 1 hour, you can visit Google Analytics (more below) and get inspired from the results measured.

How to Track Event links in Google Analytics: Walk - Through

Step#1 Setting Up code on your website/blog

Add the following code to the links on your website that you want to track. A general link would look like:

<a href="#">My link Name</a>

Now you need to add the event tracking code to the links as shown below. The Anatomy of the Event tracking code is as follows.

<a href="#" onClick="_gaq.push(['_trackEvent(category, action, opt_label, opt_value, opt_noninteraction)']);">Play</a>

You can notice different tags with in the above code like:

Category, action, opt_label, opt_value, opt_noninteraction. You only need to take care of the first 3 and leave out the rest. To track the coming via your links, you would only require to set the first 3 tags.


Below is an example for a video link on your blog.

<a href="#" onClick="_gaq.push(['_trackEvent', 'Videos', 'Play', 'Baby\'s First Birthday']);">Play</a>

You can name these tags to what ever you want. They can be totally random and as per your choice, though it's better to choose a logical word so that it would make sense to you once you see the results in Google Analytics later on.

Another Example

I have utilized Event tracking to track the clicks on BloggingeHow's Bluehost affiliate banner and other links on the blog. You can take a look at the code below that I have placed.

<a  href="#" onclick="_gaq.push(['_trackEvent', 'Inbound Link', 'WordPress Setup', 'From Sidebar banner to WP Setup Service']);">

Step#2 Analyize the results in Google Analytics

Now, open up Google Analytics account and click Behavior >> Events >> Top Events to see the results coming from your tracking code. Take a look at the image below.

event tracking in google analytics bloggingehow

Hope that helped. That's pretty much  it to it. Happy tracking links on your blog/website.

Till, next time, peace.

You can now read: 



AdSense affiliate marketing Announcement AskHassam Blogger Blogging Tips Blogosphere News Bluehost Building Traffic BuySellAds Contest Customizations Disqus Tutorials Domain Hosting Drop Down Menus eBook Email Marketing Facebook Tutorials Feedburner Freelancing Giveaway Google Google Analytics Google Gmail Google Plus Tricks Guest Post HowTo Interview Making Money Online Monetization Motivation PayPal Pinterest Plugins review SEO Slideshare Social Media Top Lists Twitter Wordpress YouTube
BloggingeHow | Making Blogging Simpler: How to Track Events, Links / Images Traffic in Google Analytics?
How to Track Events, Links / Images Traffic in Google Analytics?
BloggingeHow | Making Blogging Simpler
Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy