Friday, March 15, 2013

Event Tracking - Google Analytics

What is Event or How do you Define Event?

Events are user interactions with content that can  be tracked independently from a web page or a  screen load. Downloads, mobile ad clicks, gadgets,  Flash elements, facebook likes, share, AJAX  embedded elements, and video plays are all  examples of actions you might want to track as  Events.

Set up Event Tracking

Event Tracking is available for both web and app  properties but requires additional technical set up  that should be completed by a qualified developer

Event Component


When you set up Event Tracking, you can define  up to five of the following
components, and  associate them with individual Events:

Category :
The primary divisions of the types of  Events you have on your site.

Action:  A descriptor for a particular Event  Category. You can use any string to define an  Action, so you can be as specific as necessary.

Label:  An optional descriptor that you can use to  provide further granularity. You can specify any  string for a label.

Value:  A numerical variable. You can use explicit  values, like 30, or inferred values based variables  you define elsewhere, like downloadTime.

Implicit Count:  A count of the number of  interactions with an Event Category. Implicit  Count does not appear in the standard Google  Analytics reports, but you can access this data via  API.


EVENT TRACKING CODE


Here’s the code you’ll need to customize to add  event tracking to a text link on your site. The  elements you’ll need to change are in ALL CAPS.


This code would be used to add event tracking to  an image, banner ad or button-type element on  your site:

Using the _trackPageview and trackView methods

As an alternative to Event Tracking, you might  want to collect data for some content elements  using the _trackPageview method (for web  properties) or trackView method (for apps). These  methods allow you to track changes to viewable  content, even when the page or screen has not  changed.

We recommend using Events to track user  interactions, like clicks on a video player, and  using the web _trackPageview or the app  trackView method for tracking different content  that appears within the same web page or app  screen. Tracking the different steps in a form,  where the URL or main app screen does not  change, is a common example of where to use  _trackPageview or trackView.

Content tracked with this method appear as either  a page or screen view in your reports, and not in  your Events or Events Flow reports.


Reference:


http://analytics.blogspot.in/2011/04/new-google-analytics-events-goals.html
http://searchengineland.com/event-tracking-101-for-google-analytics-93358

No comments:

Post a Comment