Skip to content

Instantly share code, notes, and snippets.

@robheittman
Created March 11, 2011 21:50
Show Gist options
  • Select an option

  • Save robheittman/866643 to your computer and use it in GitHub Desktop.

Select an option

Save robheittman/866643 to your computer and use it in GitHub Desktop.
Call Analytics event tracking from GWT
public static native String track(String event) /*-{
$wnd._gaq.push(['_trackEvent', 'navigation', 'click', event])
}-*/;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment