To track an event using the payments package, you can use the corresponding method on the tracker instance. For example:
Example
val properties = PaymentsPaymentIntentPaidProperties(
amount = amount
)
bird.tracker.payments.paymentIntentPaid(properties)
let properties = PaymentsPaymentIntentPaidProperties(
amount: amount
)
bird.tracker.payments.paymentIntentPaid(properties)
const properties: PaymentsPaymentIntentPaidProperties = {
amount: amount
};
Bird.tracker.payments.paymentIntentPaid(properties, event_opts);
Methods
paymentIntentPaid()
val properties = PaymentsPaymentIntentPaidProperties(
amount = amount
)
bird.tracker.payments.paymentIntentPaid(properties)
let properties = PaymentsPaymentIntentPaidProperties(
amount: amount
)
bird.tracker.payments.paymentIntentPaid(properties)
const properties: PaymentsPaymentIntentPaidProperties = {
amount: amount
};
Bird.tracker.payments.paymentIntentPaid(properties, event_opts);
PaymentsPaymentIntentPaidProperties
paymentRefundRequested()
val properties = PaymentsPaymentRefundRequestedProperties(
currency = currency
)
bird.tracker.payments.paymentRefundRequested(properties)
let properties = PaymentsPaymentRefundRequestedProperties(
currency: currency
)
bird.tracker.payments.paymentRefundRequested(properties)
const properties: PaymentsPaymentRefundRequestedProperties = {
currency: currency
};
Bird.tracker.payments.paymentRefundRequested(properties, event_opts);
PaymentsPaymentRefundRequestedProperties
Last updated