app_store_subscription_convert
AutomaticappAutomatically triggered when a free-trial subscription is converted to a paid subscription This event is set as a default conversion. Requires an initial subscription that was made on or after July 1, 2019. An initial free-trial subscription is logged as an in_app_purchase with the subscription parameter set to true. This event is not exported to BigQuery.
- Platforms
- app
- When it fires
- Collected automatically; no code needed.
Parameters (5)
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| product_id | - | - | The purchased product ID | - |
| price | - | - | Price | - |
| value | - | - | Event value | - |
| currency | - | - | currency associated with the event, in 3-letter iso_4217 format. | - |
| quantity | - | - | Quantity | - |
Example
gtag.js
gtag('event', 'app_store_subscription_convert', {
product_id: '...',
price: '...',
value: '...',
currency: '...',
});GTM dataLayer
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: 'app_store_subscription_convert',
product_id: '...',
price: '...',
value: '...',
currency: '...',
});