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.
Installation
-
1
Upload the plugin — farebookings-book-now.zip — from Plugins → Add New → Upload Plugin, or copy it into
wp-content/plugins/over FTP. -
2
Activate it.
-
3
Go to Settings → FareBookings and fill in:
- Platform domain —
app.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
- Platform domain —
Shortcodes
Compact widget
[farebookings_widget]
[farebookings_widget lng="fr"]1) or light (0) mode. e.g. [farebookings_widget dark="1"]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.
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.
dark="1".opts_open="1".lng="es", lng="fr", etc.Verifying tracking works
- Visit any page with
?gclid=test123on the end of the URL. - 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.