If you use Google Docs to publish documents and link them from web pages, you may want to track “how many people views them?” Google helps you track this information by adding a Google Analytics code. Just go to Google Analytics, create a new profile for http://docs.google.com and get the tracking code for that profile. You only need a small piece of the tracking code: the value displayed in bold below, which should be different for your account.
var pageTracker = _gat._getTracker("UA-84813-6")
Once you have that value, go to Google Docs Settings, enable "Track visits to my documents using Google Analytics" and paste the value in the input box for "Google Analytics tracking code".
The list of Google services that integrate with Google Analytics includes: Google Sites, Project Hosting, iGoogle gadgets and hopefully the support will be extended to other services.
Source:→ Google System