How can I enable Facebook pixel on my widgets?
Within this article you will learn how to enable Facebook pixel tracking for one or all of the online reservation systems.
Before you get started make sure that you already have the Facebook Business Manager account. If you do not have one, you can sign up for an account here.
How to find the Pixel code
If you don’t already have a New Data Source, you need to add one:
- Click on the + icon (Connect Data Sources).
- Select the Web option.
Once you have copied the code for the widget go to the WordPress page where you wish to add the button:
- Click the + icon, located on the top navigation.
- Select the code option from the blocks section.
- Select the Embed a Widget option.
- Click on the <> option.
- Select custom HTML.
- Add the HTML code of your widget.
- Change the view from HTML to Preview.
Note: You can test the Book Now button by clicking Preview, located on the upper right section of the WordPress page.