Add a Facebook Pixel to your Booking Engine

The Facebook pixel is a piece of code for your website that lets you measure, optimize and build audiences for your ad campaigns. This article will walk you through the basics of adding a Facebook Pixel ID to your Booking Engine.

Overview

Use the Facebook Pixel for:

  • Building custom audiences from your website for re-marketing
  • Optimizing ads for conversions
  • Tracking conversions and attributing them back to your ads.
Things to know before getting started
  • After the Apple’s release of iOS 14 update, all Facebook Ads users will need to do some adjustments. These updates will add a new pixel tracking event named Aggregated Event Measurement which differs from the standard Facebook event (add to cart, search, purchase, etc).
  • To use this new tracking event, the domain where the pixel is saved has to be verified. Unfortunately, it won’t be possible to have the domain hotels.cloudbeds.com verified for each Facebook Ads account since this domain is owned by Cloudbeds. If there are any improvements in this particular area, we will update the information.
Step 1 - Facebook setup
  1. Make sure you already have a Facebook ad account and have created a pixel: See the Facebook's pixel setup guide for instructions and more information.

Notes from Facebook's Help Desk:

  1. Enter your Facebook Pixels tracking code on your website: Copy the tracking code and paste it into the HTML of your web page just before the closing head tag. Your web designer will be able to help you with this step. Facebook provides plenty of instructions and tutorials as well.
Step 2 - Add your Facebook Pixels tracking ID to your Cloudbeds account

Once you have installed your pixel, log in to Facebook's ad manager and visit the Facebook Pixel tab. Click Actions > View Pixel Code to find your Pixel ID. It should be a numeric code, for example: 0123456789012.

  1. Go to the Settings page in the Account menu and click on the Booking Engine
  2. Click on Analytics
  3. Paste the Facebook Pixel ID
  4. Save

Frequently asked questions

How do I confirm that my Facebook pixel is working?

[From Facebook's help desk]

After you've installed the Facebook pixel on your website, navigate to a web page the pixel was placed on. If it's working, the pixel will send information back to Facebook and you'll be able to see activity in the Facebook Pixel page in your Ads Manager. Your pixel's status will also be set to Active.

The full instructions for how to test that the Facebook pixel is working can be found by clicking here.

Is the “purchase” event included on the confirmation page?

Yes, the purchase event is included along with page visit, search, initiate checkout, add payment info. The user can track the process from the moment the guest accesses the booking engine page until the reservation is completed

Does the purchase event include cart values?

It includes the amount that the guest is paying (Purchase value) but the user can not know the products that the guest purchased.

Was this article helpful?
5 out of 7 found this helpful

Comments

2 comments
  • Hello, a couple of weeks ago we upgraded our booking engine to the Plus version and since that we are not seen Meta pixel activity  although we added the Pixel ID on the Analytics sections.

    I have made several tests on https://hotels.cloudbeds.com/es/reservation/XmIslB and no activity is reported.

    I tried to add the Meta Pixel in the javascript section but a syntaxis error was displayed.

    0
  • Hello, Gustavo!

    Thank you so much for submitting your comment. 

    We kindly suggest you please contact our Support Team providing all these details so they can take a closer look as soon as possible.

    We remain at your disposal.

    Kind regards!

    0

Please sign in to leave a comment.