Google Analytics Custom Tracking API

is available over here:
http://code.google.com/apis/analytics/docs/gaTrackingOverview.html