app_update
AutomaticappAutomatically triggered when the app is updated to a new version and launched again The previous app version id is passed as a parameter. This event is conceptually different from the Daily upgrades by device metric, which is reported by Google Play Developer Console. An upgrade refers to the updating of the application binary, whereas an app_update event is triggered upon the subsequent launch of the upgraded app.
- Platforms
- app
- When it fires
- Collected automatically; no code needed.
Parameters (1)
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| previous_app_version | - | - | Signifies the previous application version | - |
Example
gtag.js
gtag('event', 'app_update', {
previous_app_version: '...',
});GTM dataLayer
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: 'app_update',
previous_app_version: '...',
});