For more details see how the Facebook Pixel for Magento 2 works.
Connect your Magento store to Facebook in a split second. Gather more relevant data for the customer behavior analysis during your promo campaigns where Facebook or Instagram are involved.
Enable Facebook Pixel - Select 'Yes' to enable the extension and make all the other settings below visible.
Facebook Pixel ID - Specify your Facebook ID here.
Then paste it to the Facebook Pixel ID field on the Magento backend, save the configuration and flush Magento Cache.
Log All Events Data - Set 'Yes' to log data about the events you track.
In this section, you can choose for which parts of your store you'd like to track using the events. Enable the events that you need by selecting 'Yes' from the dropdown where needed.
Here's the list of the events you can track using the extension: