Welcome to our free Advanced Google Analytics tutorial. This tutorial is based on Webucator's Advanced Google Analytics course.
In this lesson, you will learn the basics of multiple domain tracking. You will learn how to implement your tracking across sub-domains and cross-domains.
Web 2.0 has introduced us to many interactive elements embedded in a website such as video players, games, etc. Google Analytics by default cannot capture these interactions since when a visitor interacts with a video player no pageview is generated. Also, Ajax-based activities don't generate any pageviews and can't be tracked using standard GATC implementations.
Event tracking has the following advantages with respect to virtual pageviews:
The _trackEvent method consists of four different components. The following snippet shows the generic syntax for the _trackEvent method:
The first two components i.e. (category and action) are required parameters. The label and the value parameters are optional.
|Category||Used for specifying the name of the object or type of the object. Think of category as a big bucket in which certain events can belong (e.g. all the videos on your website). Takes only text values.|
|Action||Used for capturing a particular action that a user will perform (e.g. clicking on Play button). Takes only text values.|
|Label||Used for distinguishing different items. Within a particular category (i.e. within the video category) you can label different videos (e.g. Iron Man 2 Trailer). The label field is optional.|
This parameter takes only numerical values. The value field can help monetize an event. This is an optional parameter.
Here are two examples of what a code snippet might look like:
In the above example the flash code for the video player calls the _trackEvent( ) method and passes in values for each of the parameters.
Note: Google Analytics will only track up to 500 events per visit. Thus, plan ahead to ensure that you are not tracking highly repetitive events.
All of the event reports can be found under the Content reports in the reporting side panel. This Overview report provides a high level overview of your event tracking efforts. All events triggered throughout your site within a specific date range will be displayed in this report.
This report provides you with information on the category level (i.e. which categories recorded events). You can use this report to determine more analytics information on your Event Category, Event Action, or Event Label, and how many of your events occured for each measurement.
This report goes through the pages on your website that have triggered an event you've setup.
You would like to find out how your event is performing in regards to visitors coming to your website from Google either organically or through paid search.
Within your appropriate profile, click on the Advanced Segment option and then create a new advanced segment using the following configuration: