Schema for a behavioral (structured) event in the hybrid flow

interface StructuredEvent {
    name: "event";
    payloads: {
        action: string;
        category: string;
        label?: null | string;
        property?: null | string;
    };
}

Properties

Properties

name: "event"

Event name

payloads: {
    action: string;
    category: string;
    label?: null | string;
    property?: null | string;
}

Event payloads

Type declaration

  • action: string

    Event action

  • category: string

    Event category

  • Optionallabel?: null | string

    Event label

  • Optionalproperty?: null | string

    Event property