The easiest way to add Facebook pixel to your website is via Google Tag Manager. To add it to your website, follow this tutorial:
Then setup your Facebook business account and follow this instruction: https://www.facebook.com/business/help/1021909254506499
In this way, you can add more Tags and control better your analytics.