Implement Facebook Pixel page view to IBE confirmation step.

Created by Katrín Magnúsdóttir, Modified on Tue, 28 May at 1:39 PM by Snorri Valsson

In order to implement Facebook pixel in the confirmation step in Booking Factory's Internet Booking Engine (IBE) you need to follow these steps.


Go into Settings -> Connectivity Settings -> Booking Engine Settings. There you need to select the appropriate Booking Engine Profile and click the pencil (edit) icon. (click on image to enlarge)


Once you have your the edit form open you need to navigate down to Google Analytics code and copy the following code in the field:


<!-- Facebook Pixel Code -->
function init_fb_pixel(booking_object) {
s.parentNode.insertBefore(t,s)}(window, document,'script',
fbq('init', 'FACEBOOK_PIXEL_ID');

function fb_purchase_tag(booking_object) {
if(typeof fbq === 'undefined'){ init_fb_pixel() };
fbq('trackCustom', 'BookingEnginePurchase', booking_object);
<!-- End Facebook Pixel Code -->


You need to replace the FACEBOOK_PIXEL_ID in the code with the appropriate values you receive from your Facebook developers account.


Once that is finished you just need to click save on the Booking Profile edit form and you're all set. The confirmation page will now send a pixel pageview to your Facebook developers account.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article