Created
April 14, 2011 11:48
-
-
Save tracend/919316 to your computer and use it in GitHub Desktop.
Unity 3D: Gathering statistics using Google Analytics - Source: http://blog.mostlytigerproof.com/2009/10/06/gathering-statistics-using-google-analytics-and-unity-3d/
This file contains 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
// Category: This is a free-form string used to categorise your events. | |
// Action: Another free-form string which represents the type of event, ex. “killed” and “game_start”. | |
// Label: This is an optional string parameter to the action. | |
// Value: This is an optional fractional number parameter to the action. | |
Application.ExternalCall("pageTracker._trackEvent", new object[] { category, action, label, value} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment