In order to set up conversion tracking using the Meta Pixel (previously called Facebook Pixel), please follow the following steps.
1) Create your Pixel code and place it into the header of your site, you can verify the set-up of this by ensuring that you are receiving PageView events.
2) Add the following script to the page that includes the Bookalet booking form widget:
function bookalet_bookingMade(data) {
fbq('track', 'Booking Made', {
value: data['total'],
currency: 'GBP',
});}
3) Make a test booking and verify that the Booking Made event is being recorded.