Real Analytics ninjas use goals. Google Analytics has always had URL Goals (when a visitor reaches a specific page). In 2009, we added
Engagement Goals to track success metrics around visit depth and time on site. With the new version of Google Analytics, we’ve added one more: Event Goals. This was one of our most requested features, and it gives you even more reason to use event tracking.
A brief intro to Event Tracking
You can use Event Tracking in Google Analytics to track visitor actions that don't correspond directly to pageviews. It's a great fit for tracking things like:
- Downloads of a PDF or other file
- Interaction with dynamic or AJAX sites
- Interaction with Adobe Flash objects, embedded videos, and other media
- Number of errors users get when attempting to checkout
- How long a video was watched on your site
Events are defined using a set of Categories, Actions, Labels, and Values. Here’s how you might set up event tracking for tracking downloads of whitepapers and presentations.
These interactions all have potential business impact, but until now you couldn’t track them as goals in Google Analytics. Let’s look at three ways you might use Event Goals on your site.
Tracking Downloads
Suppose you run a business to business (B2B) website and offer whitepapers (as a PDF download) in order to attract leads. You drive traffic to this page through advertising. You can track the number of downloads using event tracking. For example, we can use the category to designate the click was of type “download”. We can use the action to designate the download was a “whitepaper” and we can use the label to identify the actual whitepaper that was downloaded.
With the new Google Analytics, configuring this as a goal is easy. We simply match any event with the category of “download” and the action of “whitepaper”. Finally we set the goal value as 20.
Tracking Time Spent
Event tracking is powerful because you can track values, along with the category, action, and label. Going back to our B2B website, suppose you have a embedded product demo video on your page. With a little JavaScript, you can track the time a user spends watching the video and send that number back to Google Analytics as an event value.
With Event Goals, you can now set up a goal based on this value. In this example, we’ve configured a goal when a user spends over 180 seconds watching the product demo.
Using The Event Value As The Conversion Value
Traditionally, the only way to set goal values was when creating the goal in Google Analytics, or from the tracking code using
ecommerce tracking. With Event Goals, you have another option: using the event value as the goal value.
Again putting yourself in the shoes of a B2B website owner, you realize not all your whitepapers bring in the same quality of lead. The lead value associated with downloading a certain whitepaper is $20, but the lead value from a different whitepaper is $35. Rather than creating a separate goal for each, you can pass the values 20 and 35 as the Event Value, and then set up the goal to use the actual Event Value:
Now when a goal is matched, the value passed in the event will be used as the goal value.