Facebook Pixel for Magento® 2

Places Facebook Pixel and adds Event Trackers for a better ROI and statistics.

Current version: 2.0.6

Availability: In stock


* Required Fields



If you are Advertising on Facebook, you'd also like to know what your Return On Investments are on your Ad Campaigns. Facebook provides the possibility to implement a Tracking Pixel on the Frontend of your webshop. This Pixel tracks which page your visitor visits, which products he buys, etcetera, etcetera.

This extension adds this Facebook Tracking Pixel to your Magento webshop and tracks all the events that Facebook offers to track. That means that this plugin will place certain trackers on the front end and provides information to your Facebook Business Account. With that information you can use the Conversion Optimizer Tool from the Business Manager, which means Facebook will adjust your Ad Placements automatically to generate more revenue from the same budget. For example, It tracks when a customer adds something to his/her cart, views a CMS page or Product Page, Subscribes as a Customer, Checks Out, and of course when he/she lands on the success page. This extension also works with the Dynamic Product Ads feature from Facebook.

Currently Facebook is replacing it's old Custom Conversion Pixel with a more generic single Facebook Pixel (I know, it's a bit confusing). The Custom Conversion Pixel will completely disappear in the nearby future (See: https://www.facebook.com/help/1686199411616919).
This extension however places the newest Facebook Pixel. Like mentioned above, by using the Facebook Pixel you can use the Conversion Optimizer Tool, but you can also consult detailed information in your Facebook Business Manager so you can, for example, calculate Return On Investments on your Ads and Spent Budgets.

The extension is built conform Facebook API v2.7.

Available Trackers

The extension offers all standard trackers that Facebook uses. It places certain trackers automatically on pages on your Frontend, and also provides detailed product information, such as prices, SKU's and categories.
You are able to enable/disable certain trackers in the configuration page of this extension (see screenshots). The extension provides the following trackers:

When a key page is viewed such as a product page, e.g. landing on a product detail page. Provides detailed product information (such as Prices, SKU's, Currencies and Categories) for Dynamic Product Ads.

When a search is made, e.g. when a product search query is made. The search string is provided to Facebook as well.

When a product is added to the shopping cart, e.g. click on add to cart button. Provides detailed product information (such as Prices, SKU's, Currencies and Categories) for Dynamic Product Ads.

When a product is added to a wishlist, e.g. click on add to wishlist button.

When a person enters the checkout flow prior to completing the checkout flow, e.g. click on checkout button.

When a payment information is added in the checkout flow, e.g. click / LP on save billing info button. Works with onepagecheckout.

When a purchase is made or checkout flow is completed, e.g. landing on thank you/confirmation page. Provides detailed Order information such as Order Value and Cart Items.

When a contact form is completed.

When a registration form is completed, e.g. complete subscription/signup for a service.


This extension works fine with all versions of Magento 2, including Magento 2.1.

You need a Facebook Business Account in order for this extension to work.
You also need to generate a Facebook Pixel in your Facebook Business Manager.
Instructions how to generate a Facebook Pixel can be found here: https://www.facebook.com/business/help/336923339852238


This extension can be installed via the Marketplace or Component Manager in Magento 2.
If that's not available, upload the contents of the .ZIP file to the root of your Magento 2 directory via FTP.
Enable via Shell (bin/magento module:enable i6media_facebookpixel) or via System > Web Setup Wizard > Component Manager .


After creating a Facebook Business Account, a Facebook Pixel and installing the extension it's time to enable it in Magento.
First of all copy the Facebook Pixel ID from your Facebook Business Manager, this needs to be inserted in the configuration page of the extension.
Go in your Magento 2 Backend to Stores > Configuration > i6 Media Extensions > Facebook Pixel.
Set Enabled to Yes, paste your Facebook Pixel ID, and Enable/Disable the trackers you like.
You're good to go :)!

If you want to debug the trackers on your frontend, you can install the Facebook Pixel Helper for Google Chrome.
With that module installed you can see which trackers are fired on which page. It also provides detailed information what is provided.


Write Your Own Review

You're reviewing: Facebook Pixel for Magento® 2

How do you rate this product? *

  1 star 2 stars 3 stars 4 stars 5 stars
Functions as Described
Developer Support

You may also be interested in the following product(s)

Facebook Pixel for Magento® 1.9

Facebook Pixel for Magento® 1.9

5 Review(s)