What is Meta pixel tracking? #
The Meta Pixel is a piece of code that you put on your website that allows you to measure the effectiveness of your advertising by understanding the actions people take on your website.
You can use the Meta Pixel to:
-
Make sure your ads are shown to the right people
-
Drive more sales
-
Measure the results of your ads
How do I set up the Meta pixel? #
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
1a) If you aren’t sure how to set up a Meta pixel, this page provides a really helpful walkthrough!
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.