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.
- 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.
Add the Facebook pixel to your website
- Once the code is copied, navigate to your website dashboard and select the Developer tab at the top of your Websites app. Note: Only users with the Manager or Admin role will have access to the Developer tools. More information on user roles.
- Select Head JS on the left-hand sidebar.
- Paste the first part of the code into the first empty line in the text field, then click Save.
- Select the Pages tab at the top of your Websites app, then select Footer under Global Content on the right-hand sidebar.
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.
- In the Footer, select the (+) button at the bottom of the page or in between the content blocks, where you'd like to add the HTML block.
- Select HTML from the menu that appears.
- 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.
Comments
0 comments
Article is closed for comments.