My favorites | English | Sign in

Faster JavaScript with Closure Tools New!

Google Analytics

Google Analytics Developer Docs

The Google Analytics developer documentation contains everything you need to know to implement Google Analytics technology for:

  • Website tracking
  • Adobe Flash rich media tracking
  • Gadget Tracking
  • Exporting Analytics data New!

The Analytics developer documentation is divided into the following sections:

  • Overview

    This section covers important technical concepts in Google Analytics that will help you correctly modify or use the APIs for Google Analytics. Here, you'll learn:

    • how the tracking code works
    • how Analytics accounts differ from Google Accounts
    • which cookies are set and for what purpose
    • how and when data is sampled
  • Tracking Code

    The Google Analytics Tracking Code, ga.js, works with any web page or web application that can execute JavaScript. You can install the tracking code for your site with a simple copy-and-paste operation to enable hundreds of reports for your website traffic. If you are ready to customize your ga.js setup for ecommerce tracking or other special uses, see the Tracking Sites guide and the ga.js Reference.

  • Data Export APINew!

    Use the Google Analytics Data Export API to download Analytics data in the form of Google Data API feeds. With the Data Export API, you can embed a customized dashboard in your website to display the most commonly viewed or requested page statistics for all your reports users. Or, you can integrate your Google Analytics Data with other website data that you might be tracking in a separate system.