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.
| Parameter | Type | Description |
|---|---|---|
product | String | The product the user is using to access the application: web, web-mobile, ios, android, app. |
Interest In Search
Triggered when the user interacts with the search functionality.
| Parameter | Type | Description |
|---|---|---|
product | String | The product the user is using to access the application: web, web-mobile, ios, android, app. |
Search
Triggered when the user performs a search.
| Parameter | Type | Description |
|---|---|---|
Departure | Datetime | Departure date of the search. Ex: 2017-02-15. |
Departure Delta | Integer | Number of days between the search (now) and the searched trip. |
Destination | String | Name of the destination city. |
Destination Terminal | String | Name of the destination terminal or airport. |
Origin | String | Name of the origin city. |
Origin Terminal | String | Name of the origin terminal or airport. |
Passengers | Integer | Number of passengers in the search. |
Return | Date | Return date of the search. Ex: 2017-02-15. |
Route | String | Trip route by city name. Ex: Santiago de Querétaro - Ciudad de México. |
Trip Length | Integer | Trip duration. Only defined if a return date is provided. |
product | String | The product the user is using to access the application: web, web-mobile, ios, android, app. |
View Results
Triggered when the search results are displayed.
| Parameter | Type | Description |
|---|---|---|
Bus Count | Integer | Number of buses in the search results. |
Departure | Datetime | Departure date of the search. Ex: 2017-02-15. |
Departure Delta | Integer | Number of days between the search (now) and the searched trip. |
Destination | String | Name of the destination city. |
Destination Terminal | String | Name of the destination terminal or airport. |
Origin | String | Name of the origin city. |