Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save marchbold/e28ac6d99589c6200594 to your computer and use it in GitHub Desktop.
Save marchbold/e28ac6d99589c6200594 to your computer and use it in GitHub Desktop.
Creating / retrieving a Tracker and setting a value using the GoogleAnalytics ANE
var tracker:Tracker = GoogleAnalytics.service.getTracker( "YOUR_TRACKING_ID" );
// Set a value that will be sent with every message
tracker.setValue( "&uid", "userIdString" );
// com.distriqt.GoogleAnalytics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment