Home Features How It Works Pricing Integrations FAQ Contact
← Back to Integrations Integrations · WordPress

The official plugin — no code required.

Install it, drop in your company key, and place a shortcode wherever you want the widget or the full booking form.

// 01

Installation

  1. 1

    Upload the plugin — farebookings-book-now.zip — from Plugins → Add New → Upload Plugin, or copy it into wp-content/plugins/ over FTP.

  2. 2

    Activate it.

  3. 3

    Go to Settings → FareBookings and fill in:

    • Platform domainapp.farebookings.com, or the client's white-label subdomain if they have one
    • Company key — from the Frontend tab of your panel
    • Default language
    • Default dark mode — optional
// 02

Shortcodes

Compact widget

[farebookings_widget]
lngLanguage for this widget specifically (falls back to the Settings default). e.g. [farebookings_widget lng="fr"]
darkDark (1) or light (0) mode. e.g. [farebookings_widget dark="1"]
opts_openStart with the Options panel already expanded (1) or collapsed as normal (0).

Full booking form

[farebookings_book_now]

Accepts the same lng parameter if you want to force a language different from the Settings default.

// 03

Campaign tracking — automatic

The plugin captures gclid (Google Ads), gbraid/wbraid, the standard utm_* parameters, and fbclid (Meta) on any page of the site, and forwards them to both shortcodes automatically — nothing to configure.

Why this matters

The widget and form live on a different domain from the client's own site. Without forwarding these parameters through, Google Ads and Meta lose the ability to attribute a booking back to the campaign that actually generated it.

// Common options
Dark modeShortcode attribute dark="1".
Options panel openShortcode attribute opts_open="1".
LanguageShortcode attribute lng="es", lng="fr", etc.
// Checking it worked

Verifying tracking works

  1. Visit any page with ?gclid=test123 on the end of the URL.
  2. Submit the widget or form and confirm the booking carries that value through.

Building on a different platform?

There are dedicated guides for plain PHP sites and sites with no backend at all.