Adding Facebook Pixel Code to your Weebly Website
When you create an advertising campaign on Facebook, you'll see an option to add pixel codes to your website. Pixel codes are a method of tracking conversions from an advertising source to your website.
By tracking clicks to your website, you can determine whether your advertising campaign is effective, before your advertising budget is depleted.
Facebook gives you the option to track the actions of visitors (i.e., whether they visit specific pages on your website, add items to their shopping cart, or start the checkout process).
To add Facebook's pixel code to your Weebly site:
In Facebook Ads Manager, click Events Manager and then click Pixels.
Click on your pixel, and then click Set Up.
Click Manually Install the Code Yourself.
Copy the pixel code from the text box.
Open Weebly in a new window.
From the Weebly Dashboard, click Settings, click Edit Site, and then click SEO.
Click the Header Code box, and then paste your pixel code into the box.
You can ensure your pixel code is working properly by returning to Facebook Ads Manager and clicking the text box under Send Test Traffic to Your Pixel. Type your website name into the box and click Send Test Traffic.
Keep in mind that it may take up to 20 minutes for Facebook to detect activity.