first_open
AutomaticappAutomatically triggered the first time a user launches an app after installing or re-installing it This event is not triggered when a user downloads the app onto a device, but instead when he or she first uses it. To see raw download numbers, look in Google Play Developer Console or in iTunesConnect. Supports measuring first_open conversions for users who accept Apple's iOS 14 app-tracking prompt.
- Platforms
- app
- When it fires
- Collected automatically; no code needed.
Parameters (8)
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| previous_gmp_app_id | - | - | - | - |
| updated_with_analytics | - | - | Signifies that the first_open was logged as a result of an update to a new version of the app which integrates Google Analytics | - |
| previous_first_open_count | - | - | The number of times first_open was logged before this occurrence | - |
| system_app | - | - | (Android Only) whether or not this first_open pertains to a system appwhether or not this first_open pertains to a system app | - |
| system_app_update | - | - | (Android Only) whether or not this first_open pertains to a system app update | - |
| deferred_analytics_collection | - | - | - | - |
| reset_analytics_cause | - | - | - | - |
| engagement_time_msec | - | - | The additional engagement time (ms) since the last user_engagement event | - |
Example
gtag.js
gtag('event', 'first_open', {
previous_gmp_app_id: '...',
updated_with_analytics: '...',
previous_first_open_count: '...',
system_app: '...',
});GTM dataLayer
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: 'first_open',
previous_gmp_app_id: '...',
updated_with_analytics: '...',
previous_first_open_count: '...',
system_app: '...',
});