Subscription

To track an event using the subscription package, you can use the corresponding method on the tracker instance. For example:

Example

val properties = SubscriptionSubscriptionCreatedProperties(
    endDate = endDate
)
bird.tracker.subscription.subscriptionCreated(properties)

Methods

subscriptionCreated()

val properties = SubscriptionSubscriptionCreatedProperties(
    endDate = endDate
)
bird.tracker.subscription.subscriptionCreated(properties)

SubscriptionSubscriptionCreatedProperties

subscriptionUpdated()

val properties = SubscriptionSubscriptionUpdatedProperties(
    endDate = endDate
)
bird.tracker.subscription.subscriptionUpdated(properties)

SubscriptionSubscriptionUpdatedProperties

subscriptionCanceled()

val properties = SubscriptionSubscriptionCanceledProperties(
    endDate = endDate
)
bird.tracker.subscription.subscriptionCanceled(properties)

SubscriptionSubscriptionCanceledProperties

Last updated