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.
ga.jsurchin.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.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.