Glossary
The vocabulary used across this documentation, in one place.
- You
- The integrator reading these docs: the partner developer or team embedding Koala Smartblock in their pages and backend.
- Traveller
- The end customer buying the trip and, when they select protection, the person insured.
- Bundle
- A packaged protection offer shown as one priced option. It is what the traveller selects or declines in the widget.
- Quote
- The price Koala calculates for each configured bundle against one specific trip. The widget requests it at page load, and again after a restart.
- Subscription
- The traveller's policy. Your backend creates it with one HTTP POST after a booking that ends with a sale on your side.
- Deleted quote
- What the same POST records when the traveller declined the offer, so Koala measures conversion against all sales, not only the ones that took protection.
- Basket
window.CTStore.koala.basketPayload - The traveller's current selection state. The widget keeps it up to date and delivers it with each
onBasketevent. - Request template
basketPayload.book - The prepared request (
msgRawandfullUrl) the widget maintains for your backend to fill in and send: it creates the subscription, or deletes the quote. - Trip context
window.CTStore.dataSource - The trip data you provide for pricing: currency, language, the trip, and the travellers.
- Placement
dataSource.custom.context - Where in your pages the widget sits, for example checkout, confirmation, or manage my booking. You tell Koala through the trip context.
- Booking number
- Your identifier for the booking, unique across your bookings. Only your system knows it, and the subscription request requires it, which is why the call is made after your booking is confirmed.
- Merchant of record
- Whoever takes the payment for the protection. It determines whether card details belong in the subscription request.
- Car-rental Smartblock
- The CarTrawler widget some booking pages already run. It shares the
window.CTStoresurface with Koala Smartblock. - Partner slug
data-config-name - Your identifier, provided by Koala, set on the custom HTML element. It tells the widget which configuration to load.
- Loader script
- The asynchronous script that boots the widget. Its URL determines which Koala environment the widget talks to.