Subscription
To track an event using the subscription package, you can use the corresponding method on the tracker instance. For example:
Example
Methods
subscriptionCreated()
SubscriptionSubscriptionCreatedProperties
Property
Type
end_date?
String
items?
Array<Map<String, Any?>>
order_id?
String
product_categories?
Array
product_ids?
Array
product_names?
Array
product_skus?
Array
start_date?
String
subscription_id?
String
subscriptionUpdated()
SubscriptionSubscriptionUpdatedProperties
Property
Type
end_date?
String
items?
Array<Map<String, Any?>>
order_id?
String
product_categories?
Array
product_ids?
Array
product_names?
Array
product_skus?
Array
start_date?
String
subscription_id?
String
subscriptionCanceled()
SubscriptionSubscriptionCanceledProperties
Property
Type
end_date?
String
items?
Array<Map<String, Any?>>
order_id?
String
product_categories?
Array
product_ids?
Array
product_names?
Array
product_skus?
Array
reason?
String
start_date?
String
subscription_id?
String
Last updated