Track Events
The bird.tracker is the main entry point for tracking events in Bird client SDKs. It exposes the available semantic event packages and their corresponding methods to track events.
Example
代码示例
val properties = EcommerceOrderConfirmedProperties(
billingAddress = billingAddress
)
bird.tracker.ecommerce.orderConfirmed(properties)代码示例
let properties = EcommerceOrderConfirmedProperties(
billingAddress: billingAddress
)
bird.tracker.ecommerce.orderConfirmed(properties)代码示例
const properties: EcommerceOrderConfirmedProperties = {
billing_address: billing_address
};
Bird.tracker.ecommerce.orderConfirmed(properties, event_opts);Semantic Event Packages
| Package | Docs |
|---|---|
| app | App |
| audiences | Audiences |
| conference | Conference |
| ecommerce | Ecommerce |
| hospitality | Hospitality |
| lists | Lists |
| messaging | Messaging |
| payments | Payments |
| subscription | Subscription |
| suppressions | Suppressions |
| survey | Survey |
| web | Web |
Check the semantic events of each package by going to it's corresponding page.