You can measure the success of your Facebook Ads performance by adding the Facebook Pixel (also known as the Meta Pixel) to your website.
Create Your Facebook Pixel
If you have not yet created your Facebook Pixel, then follow these steps. If you already created your pixel, then jump to the next section.
- Log in to Facebook and navigate to the Events Manager.
- Click the (+) button to Connect Data Sources, then select Web.
- Select Facebook Pixel, then click Connect.
- Enter your website URL.
- Click Continue.
Add Facebook Pixel to Your Website
- Select the setup option Manually add pixel code to website.
- Copy the first half of the pixel code, which is all of the code in between the <script> tag and the </script> tag.
- With that copied, navigate to your website and select the Developer Tools by clicking the [<>] icon in the gray navigation bar, and click on Head JS. Don't see this icon? Find out how to obtain Developer Tools access.
- Paste the first part of the code into the first empty line in the text field, then click Save.
- Head back to the CONTENT panel, then open your Footer.
Note: The footer is the best place to insert sitewide embed codes as it inserts it on all of your pages, however, these embed codes can also be placed on individual pages.
- Once in the Footer, select one of the green (+) buttons, then select HTML from the options that appear.
- An HTML Block will be created. Copy the second half of the script code from Facebook Ads Manager in the large field box. This code begins at <noscript> and ends at </noscript>.
- Paste the code on the first empty line in the HTML Block text area, then click the Save button.
- Select the green Publish button to make the change live to your site.
Optional: Run your website through the Facebook Pixel Helper toolbar extension for Google Chrome to ensure that it's running and capturing data.
Optional: Verify Domain for Facebook
In some cases, Facebook may require you to "verify your domain" to use the Facebook Pixel. Facebook provides you with several options for verifying your domain, including one that asks you to place an HTML tag on your website. However, the HTML tag method is not compatible with the Websites 360® platform, so when you reach this step, you should instead verify using your domain registrar.
When prompted to verify your domain on the Facebook setup dashboard, choose the option called Update the DNS TXT record with your domain registrar. You will see detailed instructions from Facebook that walk through how to add this TXT record within your domain registrar.