Skip to content

Event Schemas

This section describes the events available in the SDK and the parameters each one receives.

Interest In Home

Triggered when the user accesses the home page.

ParameterTypeDescription
productStringThe product the user is using to access the application: web, web-mobile, ios, android, app.

Triggered when the user interacts with the search functionality.

ParameterTypeDescription
productStringThe product the user is using to access the application: web, web-mobile, ios, android, app.

Triggered when the user performs a search.

ParameterTypeDescription
DepartureDatetimeDeparture date of the search. Ex: 2017-02-15.
Departure DeltaIntegerNumber of days between the search (now) and the searched trip.
DestinationStringName of the destination city.
Destination TerminalStringName of the destination terminal or airport.
OriginStringName of the origin city.
Origin TerminalStringName of the origin terminal or airport.
PassengersIntegerNumber of passengers in the search.
ReturnDateReturn date of the search. Ex: 2017-02-15.
RouteStringTrip route by city name. Ex: Santiago de Querétaro - Ciudad de México.
Trip LengthIntegerTrip duration. Only defined if a return date is provided.
productStringThe product the user is using to access the application: web, web-mobile, ios, android, app.

View Results

Triggered when the search results are displayed.

ParameterTypeDescription
Bus CountIntegerNumber of buses in the search results.
DepartureDatetimeDeparture date of the search. Ex: 2017-02-15.
Departure DeltaIntegerNumber of days between the search (now) and the searched trip.
DestinationStringName of the destination city.
Destination TerminalStringName of the destination terminal or airport.
OriginStringName of the origin city.