Choose your guide
There are two integration guides, and choosing between them comes down to a single question: is there already a Smartblock on your page?
Some booking pages already run the
car-rental Smartblock.
Koala Smartblock shares its integration surface, the window.CTStore global object, with it: if it is already on your
page, Koala plugs into it and reuses the trip data it already carries. If not, you create that surface yourself.
What changes between the two
| Fresh integration | Alongside the car-rental Smartblock | |
|---|---|---|
window.CTStore | you create it | already on the page; you only add to it |
| Trip data | you provide the Koala-native dataSource | Koala reuses the car-rental fields already there |
| Event handlers | all on koala.events | koala.events, plus the basket mirrored on the shared bus |