Skip to content

Online widget

The online widget is the direct booking channel on your own website. It brings requests into your CampOne calendar with no commission and no intermediary. The widget is responsive on every device and adopts the look of your site — fonts, colours, and button styles can all be adjusted to your brand.

You add the widget to any HTML page with a single snippet, generated under Online widget → Embed in settings. Example:

<div id="campone-widget" data-tenant="your-site"></div>
<script src="https://widget.campone.ch/v1.js" async></script>

A full-page iframe variant is also available — handy if you reference the widget from a CMS where embedded JavaScript is awkward.

The widget only displays pitches you have released for online sale. Per pitch type you set:

  • Minimum stay (e.g. 2 nights on weekends, 7 nights in high season)
  • Maximum lead time (bookings allowed at most X days before arrival)
  • Arrival window (e.g. Saturdays only in high season)
  • Stop rules for individual days (public holidays, events, maintenance)

The rules are applied automatically — overlapping searches only return compatible suggestions.

  1. Search — arrival, departure, party size, vehicle type
  2. Choice — available pitch types with photos, prices, and features
  3. Extras — electricity, laundry pack, dog, early arrival
  4. Details — address, contact, notes
  5. Payment — TWINT, credit card, or optionally “pay on arrival”
  6. Confirmation — booking number, confirmation e-mail, link to the guest portal

The booking lands in the calendar immediately as Confirmed (or Request, if you prefer to clear inquiries manually).

In settings you can adjust:

  • Logo and colours (primary, accent, background)
  • Font — automatically inherits from your site, or choose your own
  • Language — German, French, Italian, English; the widget detects the browser language
  • Scope — show only rental units, only pitches, or both

A preview shows what the widget will look like before you save.

The widget integrates with the common analytics and conversion tools:

  • Google Analytics 4 (e-commerce events: view_item, add_to_cart, purchase)
  • Google Ads and Meta Pixel (conversion reporting)
  • Matomo for privacy-friendly tracking on your own server

Each booking sends revenue, pitch type, and length of stay. Tracking IDs go under Online widget → Tracking.

The widget accepts:

  • TWINT (QR code in the browser, or direct app jump on a smartphone)
  • Credit card (Visa, Mastercard, American Express)
  • Deposit with balance on arrival — set the percentage or flat amount

All payments are tied to the booking and visible in the calendar immediately.

Each online booking triggers two e-mails:

  • Confirmation to the guest with booking details, arrival info, and a link to the guest portal for advance check-in
  • Notification to your internal address so the front desk knows immediately

You can edit the wording and layout per language in settings.

  • Short search forms beat long ones. Limit the first form to arrival, departure, party size.
  • Photos per pitch type roughly double the click rate in our experience. Use high-resolution images, ideally 16:9.
  • Early-bird discounts can be automated through the dynamic pricing add-on.
  • Mobile first: more than 60 % of bookings come from smartphones — test the widget regularly on a phone.