The Facebook pixel is a piece of code that you add to your website. It gathers information that enables you to monitor conversions from Facebook advertising, optimize campaigns, create targeted audiences for subsequent ads, and remarket to website visitors who have already made some sort of action.