Ecommerce

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

Example

val properties = EcommerceCheckoutUpdatedProperties(
    checkoutId = checkoutId
)
bird.tracker.ecommerce.checkoutUpdated(properties)

Methods

checkoutUpdated()

val properties = EcommerceCheckoutUpdatedProperties(
    checkoutId = checkoutId
)
bird.tracker.ecommerce.checkoutUpdated(properties)

EcommerceCheckoutUpdatedProperties

Property
Type

checkout_id?

String

checkout_url?

String

currency?

String

customer_email?

String

customer_phone?

String

items?

Array<Map<String, Any?>>

product_categories?

Array

product_ids?

Array

product_names?

Array

product_skus?

Array

total_price?

Number

checkoutAbandoned()

EcommerceCheckoutAbandonedProperties

Property
Type

billing_address?

Map<String, Any?>

checkout_id?

String

checkout_url?

String

currency?

String

customer_email?

String

customer_phone?

String

items?

Array<Map<String, Any?>>

product_categories?

Array

product_ids?

Array

product_names?

Array

product_skus?

Array

total_price?

Number

orderConfirmed()

EcommerceOrderConfirmedProperties

Property
Type

billing_address?

Map<String, Any?>

currency?

String

customer_email?

String

customer_phone?

String

financial_status?

String

items?

Array<Map<String, Any?>>

order_created_at?

String

order_id?

String

order_number?

String

order_updated_at?

String

order_url?

String

product_categories?

Array

product_ids?

Array

product_names?

Array

product_skus?

Array

shipping_address?

Map<String, Any?>

total_price?

Number

orderCanceled()

EcommerceOrderCanceledProperties

Property
Type

billing_address?

Map<String, Any?>

currency?

String

customer_email?

String

customer_phone?

String

financial_status?

String

items?

Array<Map<String, Any?>>

order_canceled_at?

String

order_created_at?

String

order_id?

String

order_number?

String

order_updated_at?

String

order_url?

String

product_categories?

Array

product_ids?

Array

product_names?

Array

product_skus?

Array

reason?

String

shipping_address?

Map<String, Any?>

total_price?

Number

orderFulfilled()

EcommerceOrderFulfilledProperties

Property
Type

billing_address?

Map<String, Any?>

currency?

String

customer_email?

String

customer_phone?

String

financial_status?

String

fulfillment_status?

String

fulfillments?

Array<Map<String, Any?>>

items?

Array<Map<String, Any?>>

order_closed_at?

String

order_created_at?

String

order_id?

String

order_number?

String

order_processed_at?

String

order_updated_at?

String

order_url?

String

product_categories?

Array

product_ids?

Array

product_names?

Array

product_skus?

Array

shipping_address?

Map<String, Any?>

total_price?

Number

cartViewed()

EcommerceCartViewedProperties

Property
Type

cart_id?

String

checkout_url?

String

currency?

String

customer_email?

String

customer_phone?

String

items?

Array<Map<String, Any?>>

product_ids?

Array

product_names?

Array

product_skus?

Array

total_price?

Number

total_quantity?

Number

cartUpdated()

EcommerceCartUpdatedProperties

Property
Type

cart_id?

String

checkout_url?

String

currency?

String

customer_email?

String

customer_phone?

String

items?

Array<Map<String, Any?>>

product_ids?

Array

product_names?

Array

product_skus?

Array

total_price?

Number

total_quantity?

Number

productViewed()

EcommerceProductViewedProperties

Property
Type

price?

Number

product_id?

Any

product_image_url?

String

product_name?

Any

product_sku?

Any

product_url?

String

collectionViewed()

EcommerceCollectionViewedProperties

Property
Type

collection_id?

Any

collection_name?

Any

Last updated

Was this helpful?