The Facebook pixel is a piece of code that you place on your website. It collects data that helps you track conversions from Facebook ads, optimize ads, build targeted audiences for future ads and remarket to people who have already taken some action on your website. The Facebook Pixel ID is the specific ID number associated with your account.