Must Read

Just post!

Google Market tracks how many users have downloaded your application. But you may want to also know how users interact with your application. You could track, for instance, which part of your product is most popular and which features could be replaced or removed.

Reporting has become a standard component for many applications. This capability tracks user activity and sends the information to a remote service that stores data and provides analysis.

Google Analytics (, a popular choice in the nonenterprise market, is free and provides an open source ActionScript API. An ActionScript 3 API for Google Analytics data collection, called gaforflash, is available at In addition, you can keep up with Google Analytics information by reading the blog at

You need to provide a website profile and some geographic information when you register on Google Analytics. A simple example follows.

To set the Internet permission:

<uses-permission android:name=”android.permission.INTERNET” />

To use the Web ID property you received from the service:

var tracker:AnalyticsTracker =
new GATracker(this, “UA-111-222”, “AS3”, false);
// current displayObject
// Unique Web ID
// tracking mode
// debug mode
// button press go to section “game”
function pressButton(event:MouseEvent):void {
tracker.trackEvent(“Button”, “click”, “parameter1”, “parameter2”);
// category
// action
// additional parameters as needed

- Advertisement -

Latest News

GAC Group’s Global Expansion Strategy: Key Details Revealed

On August 25th, GAC Group released its 2023 semi-annual report, showing a total operating revenue of 233.532 billion yuan...
- Advertisement -

More Articles Like This

- Advertisement -