Interface RemoveFromCartEvent

Remove from Cart event - sent when a user removes a product from cart

interface RemoveFromCartEvent {
    ecommerce: {
        currencyCode: string;
        remove: { products: EnhancedEcomProduct[] };
    };
    event: "removeFromCart";
    [key: string]: any;
}

Hierarchy (View Summary)

Indexable

  • [key: string]: any

    Index signature for compatibility with DataLayerItem

Properties

Properties

ecommerce: { currencyCode: string; remove: { products: EnhancedEcomProduct[] } }

Ecommerce object with shared structure

event: "removeFromCart"

Event identifier - standard GA ecommerce events