Integrations
Add the interactive cost calculator to any charter listing page with a single script tag. No signup required.
Paste this snippet where you want the calculator to appear on your boat listing page.
Set these attributes on the script tag:
data-boatrequiredBoat model ID from the BerthBook library (e.g. lagoon-52, bali-45)data-charterrequiredCharter fee in EUR (just the number, no symbol)data-apaoptionalAdvance Provisioning Allowance in EURdata-skipperoptionalSkipper fee in EURdata-provisionsoptionalProvisions budget in EURdata-fueloptionalFuel estimate in EURThe calculator renders on your page with the correct floorplan, cabin layout, and weighted cost split. Visitors can assign themselves to cabins and see their share update in real time.
A “Powered by BerthBook” link appears at the bottom. That's the only thing we ask in return.
Use one of these values for data-boat. Don't see yours? Request a model.