GWT / Google Analytics Integration
By dgirard on Monday 19 February 2007, 08:05 - GWT tips and tricks - Permalink
Christoph :
Robert Hanson

Any ideas or recommendations on how to integrate a GWT app with Google Analytics?
Robert Hanson
GWT / Google Analytics IntegrationSure, it is just a simple JSNI call.
// untestedpublic native void trackUrchinHit (String pageName) /*-{
$wnd.urchinTracker(pageName);
}-*/Just call that method whenever you want to track an event in the interface. You also need to include the Urchin JS code in the HTML page (obviously)


