Trip context
The trip context is what you populate window.CTStore.dataSource with. The widget reads it once at page load and prices
every configured bundle against it; how that exchange works is explained in the concepts page
Trip data and pricing.
Every date-time is a local ISO 8601 string with no UTC offset (for example 2026-07-11T06:25:00), paired with an
IANA timezone (see Dates and time zones).
Click a property to see an example value and, for object properties, the shape they expect. The examples at the bottom of the table are complete payloads you can start from.
The trip context you provide on window.CTStore.dataSource.
- Example
'EUR' - Example
'en-GB' - Example
'IE' - custom
- Example
'checkout'
A flight.
- mode'FLIGHT'requiredIdentifies the segment as a flight.
- Example
'FR' - Example
'22' - Example
'DUB' - Example
'BGY' - Example
'2026-07-11T06:25:00' - Example
'2026-07-11T09:50:00' - Example
'Europe/Dublin' - Example
'Europe/Rome'
- Stay
An accommodation stay.
- Example
'Catalonia Ramblas' - Example
'2026-07-11T15:00:00' - Example
'2026-07-18T11:00:00' - Example
'Europe/Madrid' The minimal address: only the country.
- Example
'ES'
- Example
640 - Traveler
A traveller on the trip.
- Example
'ADULT' - Example
1
On pages that already run the CarTrawler car-rental Smartblock, dataSource already exists and Koala derives the trip
from the fields the car-rental widget populates. What Koala reads in that case is covered in
Alongside the car-rental Smartblock.