Skip to main content
View Categories

Reproducing the ‘fbq is not defined’ checkout error

The ‘fbq is not defined’ error only appears on a checkout page that you reach through the normal booking flow.

To reproduce it:

  1. Open a property page and pick dates.
  2. Click Book Now to reach a populated checkout.

Why an empty checkout does not show it. If you open an empty checkout page directly, the begin_checkout data layer event is not triggered, so the error does not appear.