What is Facebook Pixel?

Facebook Pixel is code that can be placed on the website. It helps track conversions from Facebook ads, optimize ads based on collected data, build targeted audiences for future ads, and re-market to qualified leads—people who have already taken some kind of action on the website.

First access: https://business.facebook.com/

Click on More Tools:

Click on Events Manager:

Select Facebook Pixel and hit Connect:

Click on Connect a New Data Source:

Name the Pixel:

Click on Install code manually:

Facebook Instructions: Paste the pixel code into the bottom of the header section just above the </head> tag. Install the base code on every page of the website.

Make sure to save the Pixel Code, example:

<!-- Facebook Pixel Code -->








s.parentNode.insertBefore(t,s)}(window, document,'script',


fbq('init', '2956733807889962');

fbq('track', 'PageView');


<noscript><img height="1" width="1" style="display:none"



<!-- End Facebook Pixel Code -->

Note: The Pixel Code added on this article is for demonstration purposes only, the only code that is going to work on the site is the one generated on the Facebook account.

Then click on Continue:

Where do I place this code on the site?

Place the Facebook Pixel code in the HEAD section of the website and click on Save Changes: