Created
November 18, 2015 02:09
-
-
Save marchbold/3138c609721a4a1ce34c to your computer and use it in GitHub Desktop.
Sending a screen view using the GoogleAnalyitcs ANE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tracker:Tracker = GoogleAnalytics.service.getTracker( "YOUR_TRACKING_ID" ); | |
// Sets the screen name. This will be sent with any subsequent events / views on this tracker | |
tracker.setScreenName( "currentScreenName" ); | |
tracker.send( new ScreenViewBuilder().build() ); | |
// com.distriqt.GoogleAnalytics |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment