
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:
o how the tracking code works
o how Analytics accounts differ from Google Accounts
o which cookies are set and for what purpose
o 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.
For Get Code:Google Analytics
For Developer:
The table below shows what the code will look like when you track multiple sites using a link versus a form.
Tracking method
Old Style
Using a link ...
...
onclick="__utmLinker('http://newsite.com/test.html'); return false;">click me ...
New Style
...
onclick="pageTracker._link('http://newsite.com/test.html'); return
false;">click me
Using a form ...
Old Style
...
New Style ...
...