There are two ways of adding pixel code to your website.
First is the manual method that involves pasting the pixel code directly into your website code. The important thing you want to be certain to do is to add the base code in the head section of your code. Paste it just before the closing tag. Follow the step by step instructions to add the facebook pixel code.
2. The second method is by using a tag management solution like Google Tag Manager. With Google Tag Manager, you will not have to edit your website code. It gives you the ability to add a code anywhere on your website.