Setting up goals in Analytics is a simple task, in the ‘Edit’ section of a profile, you are able to choose between three types of goals: a URL, time on site or pageviews per visit. The last two goal options are determined by being more or less than a given amount, and can be useful for customer service websites where you either want to provide information as quickly as possible. This can also be useful for entertainment sites that want to engage with their target audience for a long time, for either long time on site, or many pageviews.
However, for most businesses and websites, the goal that they will want to track will be a URL, such as a “Thank You” page after a sale or completing a contact form.
However, there are many other websites that exist for a purpose other than to make sales via ecommerce, receive sales leads, provide information quickly or even engage an audience. Websites set up to make affiliate sales might be one such example, as would many blogs, including my co-worker’s Phoenix Suns blog, which I shall use as an example later in this post.
Many blogs of this nature make their money from advertising, which is often done based on the number of impressions and visitors, so in some ways getting people to visit the website is success in itself. However, getting people to return to the website regularly could be said to be the purpose of the website, so the goal of the page might be to attract subscribers to the RSS feed or followers on twitter.
Unfortunately Google Analytics is only able to measure what takes place on the website itself, so as soon as any visitor clicks to Feedburner or Facebook, they leave the site and it is no longer traceable. To get around this problem, website owners can utilize Event Tracking or Virtual Pageviews to monitor clicks on these external links.
Event Tracking
Event Tracking is a relatively new feature to Google Analytics that superseded Virtual Pageviews, apart from one very important aspect as we shall see later. It is essentially a piece of code that can be added to any link, or website feature, that can then monitor if a visitor clicks on that part of the page during the visit.
For example, at the bottom and side of this page we suggest that you “follow us” on social media sites or RSS, and if you look at the page source code you will see the following;
<img src=”http://www.verticalmeasures.com/wordpress/wp-content/themes/default/images/icon_rss.jpg” /></a>
This highlighted code in the href essentially monitors each click and then categorizes the category, action, label and value, the last two of which are optional (we did not use a value). This code is useful for tracking not only which external links your visitors are clicking, but can also be used with interactive features of a website such as games and videos.
This data can then be broken down in Analytics to see which activities are being performed on your website, where people are clicking, what documents are being downloaded, and so on. You could then use this information to get a better understanding of how visitors use your website, and then use this information to better design your website towards these events.
An Event Tracking report is available in Analytics within the “Content” drop down and shows information such as the number of events, when they happened, and which kinds of events took place;
Returning to the example we have in place on this page, and looking at the ‘Category’ report in Analytics, we can see that the social media links in the sidebar are clicked about twice as often as those in the footer;

However, while you can give an Event a ‘value’ these are not to be confused with goal values, and event tracking cannot be used with goal tracking in analytics, despite there being strong demand for it . This is a great disadvantage of Event Tracking, when compared to Virtual Pageviews.
Virtual Pageviews
As mentioned previously, Virtual Pageviews were superseded by Event Tracking as they create fake page views which can inflate website numbers. However, as Events can’t be tracked as goals by Analytics, but URLs can, Virtual Pageviews enable you to track links that go to other websites as a goal, and are therefore still very useful.
Returning to the example of a blog, if you go to valleyofthesuns.com and look at the page source, for the social media links in the right hand side of the page, which are the website goal to increase return visitors, you will see the following;
The highlighted code essentially tricks Analytics into thinking a pageview for www.valleyofthesuns.com/follow/rss took page when the link is clicked (a page that in reality doesn’t exist). By then setting up this goal as a URL destination goal and giving it a goal value, we can then monitor which visitors, traffic sources and keywords were most likely to subscribe, and then experiment with different website designs to lead to higher conversion rates.
Virtual Pageviews vs. Event Tracking
Therefore, there are advantages to both methods, and as a general rule I would say that if it is not your primary goal use Event Tracking, otherwise use Virtual Pageviews to set a URL destination goal. For example, on this page our primary goal is for you to contact us to see how we can help you, so we use event tracking to record offsite links. However, for blogs or affiliate sites where the offsite link is the primary goal, then there is no other option than to use Virtual Pageviews.
This entry was posted on Tuesday, October 26th, 2010 at 5:12 am and is filed under Tips. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

October 26th, 2010 at 5:00 pm
Thanks for the event tracking info! I’m glad to see that Google analytics is expanding in the data that it shares and the ways of tracking.
Great post!
October 26th, 2010 at 9:40 pm
I did not know about event tracking. Thanks for the tip!
November 17th, 2010 at 10:30 pm
Great Post James!!
I Doubt, How do I track a Log in / Registration Event?
I mean in the blog above there is an outbound link involved, but when the visitor clicks on the Log in
button he/she would still remain on the same domain and a event is fired.
Thanks in Advance!
Kamesh.M
November 19th, 2010 at 11:49 am
What if I wanted to implement both methods on the same, button
Trigger an event & Create a Fake Page view? Can this be done? or is it one or the other?
January 27th, 2011 at 12:02 pm
Hi Stan,
A quick glance I had couldn’t show me anything about using both codes, I would probably just implement it and see if it works and tweak the code.
However, I would wonder as to why you would ant to use both, as you can know if an action happened on your website without the drawbacks of both systems.
March 25th, 2011 at 8:55 am
Here is a reason why.
Say you have a link on your site to a PDF download (Yes I need this as a goal – because event method can’t be tracked). – Problem is the fake page view has a time on site measure for the visitor,
I have no idea how this is even possible. I’ve had an argument that this number is bogus as a fake pageview can’t possible register time on site! (Maybe you know the answer)
We do know that Event tracking can be used for time tracking, (Although I’m not sure how you would do this for a PDF download!!) but I’m more curious about the answer for “Time on Site” on Fake Page Views.
Thanks.
Searchengineman