I need to be able to use more than one Google Analytics on a page. How can I do that with the async code?
Getting the tracker used to work a bit like that (not sure about the exact code):
var tracker2 = _gat.getTracker("tracker2");
tracker2.trackPageView();
However with the new async API, it’s not possible to retrieve a value, so how can it be done?
Have a look at: http://code.google.com/intl/de/apis/analytics/docs/tracking/asyncUsageGuide.html#MultipleCommands
Edit:
This creates two Trackers called
aandb