Schema for an adjust event in the hybrid flow

interface AdjustEvent {
    name: "adjust";
    payloads: {
        action: "view_content" | "add_to_cart" | "initiate_checkout";
        parameters: {
            _valueToSum: string;
            fb_checkin_date: string;
            fb_checkout_date?: null | string;
            fb_city: string;
            fb_content_id: string;
            fb_content_type: "[\"hotel\", \"product\"]";
            fb_country: string;
            fb_currency: string;
            fb_num_adults: string;
            fb_region: string;
            fb_travel_end?: null | string;
            fb_travel_start: string;
        };
    };
}

Properties

Properties

name: "adjust"

Event name

payloads: {
    action: "view_content" | "add_to_cart" | "initiate_checkout";
    parameters: {
        _valueToSum: string;
        fb_checkin_date: string;
        fb_checkout_date?: null | string;
        fb_city: string;
        fb_content_id: string;
        fb_content_type: "[\"hotel\", \"product\"]";
        fb_country: string;
        fb_currency: string;
        fb_num_adults: string;
        fb_region: string;
        fb_travel_end?: null | string;
        fb_travel_start: string;
    };
}

Event payloads

Type declaration

  • action: "view_content" | "add_to_cart" | "initiate_checkout"

    Event action, has to be mapped to the Adjust token

  • parameters: {
        _valueToSum: string;
        fb_checkin_date: string;
        fb_checkout_date?: null | string;
        fb_city: string;
        fb_content_id: string;
        fb_content_type: "[\"hotel\", \"product\"]";
        fb_country: string;
        fb_currency: string;
        fb_num_adults: string;
        fb_region: string;
        fb_travel_end?: null | string;
        fb_travel_start: string;
    }

    Facebook parameters

    • _valueToSum: string

      Product value, as a string

    • fb_checkin_date: string

      Departure date

    • Optionalfb_checkout_date?: null | string

      Return ride date, if presented

    • fb_city: string

      City of destination

    • fb_content_id: string

      ["from_city_id#to_city_id"]

    • fb_content_type: "[\"hotel\", \"product\"]"

      ["hotel", "product"]

    • fb_country: string

      Country code of destination

    • fb_currency: string

      Product currency

    • fb_num_adults: string

      Number of tickets, as a string

    • fb_region: string

      City of destination

    • Optionalfb_travel_end?: null | string

      Return ride date, if presented

    • fb_travel_start: string

      Departure date