-
-
Notifications
You must be signed in to change notification settings - Fork 5
Analytics Get Started
The contents of this page are based on the original Firebase Documentation
Google Analytics for Firebase collects usage and behavior data for your app. The SDK logs two primary types of information:
- Events: What is happening in your app, such as user actions, system events, or errors.
- User properties: Attributes you define to describe segments of your user base, such as language preference or geographic location.
Analytics automatically logs some events and user properties; you don't need to add any code to enable them.
import com.tuarua.firebase.AnalyticsANE;
analytics = AnalyticsANE.analytics;After you have configured the FirebaseApp instance, you can begin to log events with the logEvent() method. You can explore the predefined events and parameters in the FirebaseAnalyticsEvent.as and FirebaseAnalyticsParam.as files.
The following example demonstrates how to log a suggested FirebaseAnalyticsEvent.SELECT_CONTENT event to indicate a user has clicked on a specific element in your app:
var obj:Object = {};
obj[FirebaseAnalyticsParam.ITEM_ID] = "abc";
obj[FirebaseAnalyticsParam.ITEM_NAME] = "item name";
obj[FirebaseAnalyticsParam.CONTENT_TYPE] = "image";
analytics.logEvent(FirebaseAnalyticsEvent.SELECT_CONTENT, obj);Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.
Project setup
Analytics
Authentication
Dynamic Links
Google Sign In
Firestore
- Configuring the ANE
- Get Started
- Add and Manage Data
- Query Data
- Get Data
- Get Realtime Updates
- Perform Simple and Compound Queries
- Order and Limit Data
- Paginate Data
Messaging
One Signal
Performance
Remote Config
Storage
- Configuring the ANE
- Get Started
- Create a Reference
- Upload Files
- Download Files
- Use File Metadata
- Delete Files
Crashlytics
Vision
- Detect faces
- Scan barcodes
- Label images
- Recognize landmarks
- Natural Language
- Custom Models
External Links