Embed the booking widget

The widget shows your live cabin availability and pricing on your own website. Every button sends the visitor to your AtHelm booking page with the cabin already selected.

Install it

  1. Open your AtHelm admin, go to Settings → Embed widget and pick a sailing.
  2. Copy the generated code.
  3. Paste it into your website where you want the cabins to appear, then publish.
<div id="athelm-widget"></div>
<script
  src="https://athelm360.com/embed/v1/widget.js"
  data-tenant="your-brand"
  data-cruise="your-sailing-id"
  data-target="athelm-widget"
  data-mode="grid"
  data-theme="auto"
  async>
</script>

Options

SettingRequiredDefaultWhat it does
data-tenantYes—Your brand's AtHelm handle, e.g. fetetopia.
data-cruiseYes—The sailing to display. Copy it from your admin embed page.
data-targetNoathelm-widgetThe id of the div the widget renders into.
data-modeNogridgrid, list or compact.
data-themeNoautolight, dark or auto (follows the visitor's device).
data-hide-cruise-infoNofalseSet to true to hide the sailing header.
data-hide-imageNofalseSet to true to hide the sailing picture.
data-hide-titleNofalseSet to true to hide the sailing name.
data-hide-detailsNofalseSet to true to hide the dates, port and ship line.
data-cta-textNoBook NowText on the button, e.g. Reserve my cabin.
data-limitNoallMaximum number of cabins to show, e.g. 3 or 6. Leave it out to show them all.

Where to paste it

More than one sailing

Repeat the whole snippet, giving each one a different div id and matching data-target. Each widget loads its own sailing independently.

If something looks wrong

Questions

Does it slow my site down? No — the script loads after your page and stays under 40 KB. Can guests pay inside the widget? No, checkout always happens on your AtHelm booking page. Does it work on mobile? Yes, the layout adapts to phones, tablets and desktops.