TagSpy

app_store_subscription_cancel

Automaticapp

Automatically triggered when a paid subscription is cancelled in Google Play Android only Requires an initial subscription that was made on or after July 1, 2019. This event is not exported to BigQuery.

Platforms
app
When it fires
Collected automatically; no code needed.
Official docs

Parameters (5)

ParameterTypeRequiredDescriptionExample
product_id--The subscription cancel product ID-
price--Currency code for the subscription price-
value--Event value-
currency--currency associated with the event, in 3-letter iso_4217 format.-
cancellation_reason--The reason why a subscription was canceled or is not auto-renewing. Possible values are: 0. User canceled the subscription 1. Subscription was canceled by the system, for example because of a billing problem 2. Subscription was replaced with a new subscription 3. Subscription was canceled by the developer-

Example

gtag.js
gtag('event', 'app_store_subscription_cancel', {
  product_id: '...',
  price: '...',
  value: '...',
  currency: '...',
});
GTM dataLayer
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
  event: 'app_store_subscription_cancel',
  product_id: '...',
  price: '...',
  value: '...',
  currency: '...',
});

Also see