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.
Log All Events Data - If enabled you can find all frontend events data which was sent to Facebook in /var/log/facebook_pixel.log file.
Manage all pixel IDs that you create via the Manage Pixel IDs grid. Please navigate to Marketing → Amasty Facebook Pixel → Manage Pixel IDs to explore the grid and add new pixel IDs. Click 'Add New Pixel ID' to link a new pixel with the Facebook account from Magento backend or click 'Edit' on the grid to edit the existing one.
Pixel ID - fill in this field with the pixel ID that you can get from your Facebook account. After pasting it here, save the configuration and flush Magento Cache.
Is Enabled - Set this setting to 'Yes' to enable this very pixel.
Store View - Specify the store view or multiple store views to where the pixel will be applied.
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:
Having all the catalog data imported to Facebook will help you to get more precise results from the analytics and more correct work of the Facebook Pixel events related to products. Just for that purpose, we can suggest you to use our Product Feed for Magento 2 extension to export products from Magento and then import this data into Facebook.
The Facebook Pixel Pro edition adds two more settings to the main configuration area.
Enable Delayed Dispatch of Server Events - Set this setting to 'Yes' to allow the delayed dispatch of server events and to enable one more setting ('Server Events Sending Frequency') below.
Server Events Sending Frequency - choose the server events sending frequency from three available options:
The Facebook Pixel Pro edition adds extra section to the Pixel ID configuration area. In order to use use it, please navigate to Marketing → Amasty Facebook Pixel → Manage Pixel IDs → Add New Pixel ID / Edit → Conversion API.
Enable Conversion API - Set this setting to 'Yes' for further configurations of the Conversion API functionality.
Access Token - Generate Access Token in your Facebook Business account Ads Manager → Event Manager → Settings→Generate Access Token.
Test Event Code - In order to get the test code, please navigate to the 'Test Events' tab of your Facebook account. Leave empty, if you don’t want to send the Test Events.