Subscription
SubscriptionTracker
Defines the tracker class for the subscription semantic package
Example
To track an event using the subscription package, you can use the corresponding method on the tracker instance:
Extends
Tracker
Methods
subscriptionCanceled()
Parameters
• props?: SubscriptionSubscriptionCanceledProperties
• opts?: BirdEventTrackingOptions
Returns
void
subscriptionCreated()
Parameters
• props?: SubscriptionSubscriptionCreatedProperties
• opts?: BirdEventTrackingOptions
Returns
void
subscriptionUpdated()
Parameters
• props?: SubscriptionSubscriptionUpdatedProperties
• opts?: BirdEventTrackingOptions
Returns
void
SubscriptionSubscriptionCanceledProperties
Properties for subscription/subscription-canceled event
Indexable
[k
: string
]: unknown
Properties
end_date?
string
order_id?
string
product_categories?
string
[]
product_ids?
string
[]
product_names?
string
[]
product_skus?
string
[]
reason?
string
start_date?
string
subscription_id?
string
SubscriptionSubscriptionCreatedProperties
Properties for subscription/subscription-created event
Indexable
[k
: string
]: unknown
Properties
end_date?
string
order_id?
string
product_categories?
string
[]
product_ids?
string
[]
product_names?
string
[]
product_skus?
string
[]
start_date?
string
subscription_id?
string
SubscriptionSubscriptionUpdatedProperties
Properties for subscription/subscription-updated event
Indexable
[k
: string
]: unknown
Properties
end_date?
string
order_id?
string
product_categories?
string
[]
product_ids?
string
[]
product_names?
string
[]
product_skus?
string
[]
start_date?
string
subscription_id?
string
Last updated