Ecommerce
EcommerceTracker
Defines the tracker class for the ecommerce semantic package
Example
To track an event using the ecommerce package, you can use the corresponding method on the tracker instance:
Extends
Tracker
Methods
cartUpdated()
Parameters
• props?: EcommerceCartUpdatedProperties
• opts?: BirdEventTrackingOptions
Returns
void
cartViewed()
Parameters
• props?: EcommerceCartViewedProperties
• opts?: BirdEventTrackingOptions
Returns
void
checkoutAbandoned()
Parameters
• props?: EcommerceCheckoutAbandonedProperties
• opts?: BirdEventTrackingOptions
Returns
void
checkoutUpdated()
Parameters
• props?: EcommerceCheckoutUpdatedProperties
• opts?: BirdEventTrackingOptions
Returns
void
collectionViewed()
Parameters
• props?: EcommerceCollectionViewedProperties
• opts?: BirdEventTrackingOptions
Returns
void
orderCanceled()
Parameters
• props?: EcommerceOrderCanceledProperties
• opts?: BirdEventTrackingOptions
Returns
void
orderConfirmed()
Parameters
• props?: EcommerceOrderConfirmedProperties
• opts?: BirdEventTrackingOptions
Returns
void
orderFulfilled()
Parameters
• props?: EcommerceOrderFulfilledProperties
• opts?: BirdEventTrackingOptions
Returns
void
productViewed()
Parameters
• props?: EcommerceProductViewedProperties
• opts?: BirdEventTrackingOptions
Returns
void
EcommerceCartUpdatedProperties
Properties for ecommerce/cart-updated event
Indexable
[k
: string
]: unknown
Properties
Property | Type |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EcommerceCartViewedProperties
Properties for ecommerce/cart-viewed event
Indexable
[k
: string
]: unknown
Properties
Property | Type |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EcommerceCheckoutAbandonedProperties
Properties for ecommerce/checkout-abandoned event
Indexable
[k
: string
]: unknown
Properties
Property | Type |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EcommerceCheckoutUpdatedProperties
Properties for ecommerce/checkout-updated event
Indexable
[k
: string
]: unknown
Properties
Property | Type |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EcommerceCollectionViewedProperties
Properties for ecommerce/collection-viewed event
Indexable
[k
: string
]: unknown
EcommerceOrderCanceledProperties
Properties for ecommerce/order-canceled event
Indexable
[k
: string
]: unknown
Properties
Property | Type |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EcommerceOrderConfirmedProperties
Properties for ecommerce/order-confirmed event
Indexable
[k
: string
]: unknown
Properties
Property | Type |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EcommerceOrderFulfilledProperties
Properties for ecommerce/order-fulfilled event
Indexable
[k
: string
]: unknown
Properties
Property | Type |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EcommerceProductViewedProperties
Properties for ecommerce/product-viewed event
Indexable
[k
: string
]: unknown
Properties
Property | Type |
---|---|
|
|
|
|
|
|
Last updated