Facebook uses their pixel [1] to determine what their visitors do on their advertisers' sites. The pixel can be set with various options, such as a "purchase" pixel with a revenue component. When you initiate campaigns in Facebook you have the option to define a goal of conversions (views of a specific Facebook pixel), and Facebook will report back the conversions from your campaign.