Event tracking in Google analytics the easy way.July 22, 2011
Event tracking in Google analytics can be a painful task and it gets more complicated when your site has hundreds of outbound links, or downloadable documents you would like to track.
The good news is there are 2 options for how to track events (outbound links or files), manually or automatically with auto-tracking.
Option 1: Manual Tagging (complex, slow, prone to errors– recommended only for websites with a few outbound links or files to be tracked).
In this case we manually tag each link you would like to track. To log every click on a link to, for example, www.outbound.com, you would add an onClick event to outbound urls you wish to track:
<a href=”http://www.outbound.com” onClick=”recordOutboundLink(this, ‘Outbound Links’, ‘outbound.com’);return false;”>
Option 2: Auto-tracking – very easy & fast. Recommended for any website with large number of outbound links or files to be tracked.
Solution A; AnalyticsEngine provides you with a piece of script which you paste into your website just after your Google analytics and you’re done. No additional work or tagging required. In less than a minute you will be able to track thousands of outbound links or file downloads on your website.
This is how you see your results using solution from AnalyticsEngine
For small websites with a page views up to 100,000 per month this script is free. By the way, don’t confuse page views with visits. For example: 10,000 visits to your site can generate 4 page views per visit = 40,000 page views.
For websites with up to 1,000,000 page views the cost is $75 / month, plus there is an enterprise solution available as well. Considering how much time this saves you, it’s excellent value. Especially sites having a lot outbound affiliate links or downloads will greatly benefit from it.
Solution B; Or you can get similar script from advanced-web-metrics.com, for around $75 per domain (one off payment) and with no restriction on page views. No freebies here, however there is a 30 days money back guarantee and support from Brian Clifton, who is the author of an excellent book ‘Advanced Web Metrics with Google Analytics’ and former Head of Web Analytics for Google.
This solution won’t allow you to see clicked outbound links and file downloads under ‘Events’, but instead under ‘Content’ as page views. See the screenshot below.
And here when used auto-tracking used from advanced-web-metrics.com
(screenshot used from advanced-web-metrics.com)