# Facebook Pixel

The [Facebook Pixel](https://www.facebook.com/business/learn/facebook-ads-pixel) makes it easy to track conversions and determine the ROI of your Facebook (FB) advertising campaigns. Enabling this extension adds the FB Pixel code blocks to the *\<head>* of each page with the correct FB Pixel ID and event values.

![](https://2741824567-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAUTtHOF4cY8fyDoNkF%2F-LBRIvty4Wj6upW4dYJe%2F-LBRJ69opV8b4PQ9EKuE%2F4421b85-facebook_pixel.png?alt=media\&token=5a04200f-9ffc-4a29-a3da-2021d1a95ed5)

## Prerequisites

You must [create/setup a FB Pixel](https://www.facebook.com/business/help/952192354843755?helpref=faq_content#createpixel) in your FB advertising account. Make sure you enable the *Lead event* during setup. Once setup, please \[Contact Support]\(doc:contact-support) and include the FB Pixel ID in your request.

## Helpful Notes

* On all page loads (except Confirmation page) we fire the *Pageview* standard event.
* On the Thank You (Confirmation) page the *Lead* standard event.
* We do not *currently* support firing custom events/conversions.
* A site can have 1 or more FB Pixels providing they are not duplicate FB Pixel IDs.
* The FB Pixel only renders on production and Implementation URLs. It does NOT render on on-page editing URLs.

## Testing + Troubleshooting

It is recommended that you test/validate that the FB Pixel is correctly functioning. You can easily accomplish this by using the [Facebook Pixel Helper chrome extension](https://developers.facebook.com/docs/facebook-pixel/pixel-helper). Once installed, you'll get details about which FB Pixel and event was fired.

![](https://2741824567-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LAUTtHOF4cY8fyDoNkF%2F-LBRIvty4Wj6upW4dYJe%2F-LBRKTqxgOB6SArIrhCk%2F25008ce-image2017-8-10_8_49_53.png?alt=media\&token=5d91e443-0ec9-4dea-8c42-54c56900d9d3)
