app_exception
AutomaticappAutomatically triggered when the app crashes or throws an exception The event is sent when you integrate Firebase Crashlytics.
- Platforms
- app
- When it fires
- Collected automatically; no code needed.
Parameters (3)
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| fatal | - | - | Indicates whether an exception was fatal (1=true, 0=false) | - |
| timestamp | - | - | Indicates the timestamp of an exception | - |
| engagement_time_msec | - | - | The additional engagement time (ms) since the last user_engagement event | - |
Example
gtag.js
gtag('event', 'app_exception', {
fatal: '...',
timestamp: '...',
engagement_time_msec: '...',
});GTM dataLayer
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: 'app_exception',
fatal: '...',
timestamp: '...',
engagement_time_msec: '...',
});