English | Site Directory

Google Analytics Custom Tracking

Welcome to Google Analytics

Google Analytics allows you to track your website performance and anonymous visitor behavior with the installation of a simple JavaScript snippet. Web developers and site administrators who are familiar with JavaScript and their web application platform can customize the behavior of Google Analytics by modifying the JavaScript snippet, known as the Google Analytics Tracking Code (GATC). The API methods used for GATC customization are written in JavaScript and will work with any web page or web application that can execute JavaScript.

Although the standard Google Analytics Tracking Code tracks basic websites without any modifications, more complex websites require customizations to the code. If your website uses ecommerce, multiple domains, Flash or other advanced features, you are in the right place. This site provides detailed documentation on how to customize the Google Analytics Tracking Code for your website's specific needs.

To begin learning about the full capabilities of the Google Analytics Tracking Code, please reference the following documentation.

Tracking Basic Sites
Perfect for blogs, static websites, or self-contained websites, the basic Google Analytics Tracking Code works straight out of the box for most sites. Find out how to start tracking your website with the addition of a simple JavaScript snippet.
New Tracking Code: ga.js
Read the Tracking Comparison Guide to find out reasons to switch from using the urchin.js code and to see side-by-side tag comparison between the urchin.js and ga.js tracking code. Don't need to migrate? Start with an introduction to the ga.js tracking code with the GATC Overview.
Explore the Tracking API
The new Google Analytics Tracking Code, ga.js, uses an object-oriented JavaScript model. While ga.js has all the capabilities (and more!) of its functional predecessor, urchin.js, the methods are named and called differently. Find out the details of how to customize your ga.js setup using the Site Tracking handbook.
Event Tracking (beta)
Want to track Flash UI elements, gadgets, or latency? The upcoming Event Tracking capabilities (now in limited beta) will allow you to track events separately from pageviews. Read more in the Event Tracking Guide. See our Help Center for a general overview of Event Tracking for report users.
Understanding Reports
Google Analytics offers over 80 reports populated with data about your website and its usage. To understand which data is available in which report and to see which content you can control (through goals and filters, for example), see Reporting Basics.