hybridge
    Preparing search index...

    Interface EcomEvent

    Schema for an ecommerce event in the hybrid flow

    interface EcomEvent {
        name: "ecom";
        payloads: {
            action: "impressions" | "add" | "remove" | "view";
            currency: string;
            product?: Product1;
            products?: Product[] | null;
            total?: number | null;
        };
    }
    Index
    name: "ecom"

    Event name

    payloads: {
        action: "impressions" | "add" | "remove" | "view";
        currency: string;
        product?: Product1;
        products?: Product[] | null;
        total?: number | null;
    }

    Event payloads

    Type Declaration

    • action: "impressions" | "add" | "remove" | "view"

      Ecom action

    • currency: string

      Ecom currency

    • Optionalproduct?: Product1
    • Optionalproducts?: Product[] | null

      Ecom product list

    • Optionaltotal?: number | null

      Ecom total value