Track user behavior, engagement metrics, app launches, and conversion events natively via Google Firebase SDK.
Track user behavior and engagement natively with Google Firebase Analytics. Nativine embeds native Firebase Analytics SDKs into your app binary, capturing precise session attribution, Google Ads campaign conversions, and user event streams.
Firebase Analytics is Google's app analytics platform. Unlike web-based Google Analytics scripts that fail when apps background or lose network connectivity, Nativine's native Firebase integration logs events reliably:
google-services.json (for Android) and GoogleService-Info.plist (for iOS).To log custom events or pass user properties to Firebase in JavaScript, call nativine.firebaseAnalytics.logEvent():
// Log standard purchase event
nativine.firebaseAnalytics.logEvent({
eventName: 'purchase',
parameters: {
currency: 'USD',
value: 29.99,
transaction_id: 'tx_998877'
}
});
// Set user property
nativine.firebaseAnalytics.setUserProperty({
name: 'account_type',
value: 'premium'
});
| Parameter | Type | Description |
|---|---|---|
eventName | string | Required. Standard Firebase event name (e.g. purchase, sign_up, level_up). |
parameters | object | Optional. Key-value payload map matching Firebase parameter schemas. |
Yes. Google Firebase Analytics offers unlimited, un-sampled event logging for mobile applications at zero cost.
Yes. Firebase Analytics links directly with Google BigQuery for SQL querying and custom dashboard generation.