Facebook Pixel for Magento 2

See available pricing options!

Quickly link your Magento-based store with Facebook using the Facebook Pixel for Magento 2 extension. Ensure the effectiveness of your advertising and get a better understanding of the actions people take on your website.

  • Optimize your ad configurations
  • Choose which events to track
  • Set up remarketing audiences
  • Create lookalike audiences
  • Configure custom events
  • Hyvä-ready storefront and Hyvä Checkout ready
Add to Wish List
Product updates and support for 12 months

Updates and support prolongation - $49

more info

Pick a combo deal with 15% discount:

Save $76.05

📍 How does the Magento 2 Facebook Pixel work?

The Facebook Pixel extension for Magento 2 saves time on connecting your Facebook Account to Magento. Technically, it helps to add a piece of the JS code to Magento-based stores for further data gathering and analytics in your Facebook Business Account.

📍 Why is it important?

The tool can help you build lasting relationships with people, find new loyal customers, and consequently increase sales. It becomes easier to reach the people who matter to your business and analyze their behavior.

How can Facebook Pixel help my business grow?

Reach the right people with better targeting and lookalike audiences


Better understand the behavior of your customers

Track and adjust the performance of your ad campaigns

🆔 The Pixel itself is a piece of the JavaScript code which, if added to your website, can help you track the activity of site visitors, analyze their behavior and adjust your ad campaigns.

🎦 Event is a particular action of the site visitor on your website which can be tracked by Pixel and then sent as data to Facebook for further analysis and audience configuration.

Boost conversions on your website

Install the Facebook Pixel for Magento 2 to track how many users reach particular steps of your conversion funnel, e.g. add to cart, download price lists, or register for the events. This data can be aggregated and then used for the creation of new ad campaigns on Facebook with the call-to-action most relevant for them.

Optimize your Facebook ads

It is much easier to measure the effectiveness of the ad campaigns using the Facebook Pixel tool. As you get more relevant data about the behavior of your shoppers, it becomes easier to decide what ads to remain, what to adjust and what to delete at all.


Create audiences for the remarketing

The Facebook Pixel for Magento 2 can be used to configure the combined audiences like “all the site visitors for the last 30 days that haven’t bought anything”. Knowing who these people are gives you the direction for new ad campaigns and a clear perspective on how to boost your revenue.

Create lookalike audiences

The Facebook Pixel and the Facebook tool for analytics can help you find and adjust audiences that are similar to your actual one. The lookalike audience takes into consideration many parameters like gender, age, behavior, interests, and others.

Setup multiple Facebook Pixel IDs for your store

Add more than one pixel ID to your Magento store to gather all data about the events from multiple store views in one place.

Use different Pixel IDs per different store views

Avoid overlap of the target audiences and get more clear data for the analytics by tracking the events separately. For example, you can distinguish the events data from your English-speaking audience ('EN' store view) from the data from your French-speaking audience ('FR' store view).

Use Magento logs for easier debugging

All the data for Facebook analytics is tracked by Magento 2 Facebook Pixel and stored on Magento backend. You can reach this data anytime and check the logs to make sure your configurations were correct or where any kind of fix is necessary.

facebook conversion pixel magento

[PRO] Maintain your server response time at optimal speed

Benefit from the delayed upload of server events to maintain your TTFB (server response time) at optimal rate. Besides, you can configure the data upload frequency via cron.

[PRO] Get more clear and full data about your shoppers’ behaviour

Make your strategic decisions data-driven

Choose the pricing plan that suits your business challenges

Facebook Pixel

  1. $79
  • Connect your Magento to Facebook analytics in a split second
  • Track basic events for analytics 
  • Add multiple Pixel IDs per store views

Facebook Pixel Pro

  1. $99
  • Facebook Pixel included
  • Conversions API: to track conversions even if a site visitor uses an AdBlock extension or iOS
  • Deduplication of events: to save only valid events and automatically delete duplicate content
  • Delayed dispatch of server events: to maintain your server response time at optimal speed

What people say

“The ability to measure sales was the first sign that our business would be a success. Our first day of breaking 100-plus sales always sticks out. Point blank, our marketing plan is Facebook, Facebook, and more Facebook... Facebook is 100% the backbone of our customer acquisition efforts and it's been made even better with the improved Facebook pixel”

Ali Najafian

Co-founder, Trendy Butler


How to connect Magento catalog to Facebook?

using 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 Facebook Feed for Magento 2 extension to export products from Magento and then import this data into Facebook.


Squeeze the maximum from your ad campaigns

In case you’re going to use the Facebook Pixel as a part of your Facebook advertising flow, try using the Instagram Feed and Social Login tools to create more predictable traffic flow and ensure it converts into purchases.


Maximize the effectiveness of other ad platforms

Are you launching Microsoft (Bing) ad campaigns? Do you want to get valuable insights for their optimization? Enable the Microsoft Ads (UET Tag) extension to seamlessly integrate your Magento 2 store with Microsoft Ads account and track meaningful user actions made after interacting with your ad.

How to Add a Facebook Pixel to Magento 2

Step 1: Download and Install the Facebook Pixel
Step 2: Run the CLI Commands
Step 3: Configure the Facebook Pixel Code in Your Store
Step 4: Verify Your Facebook Pixel Has Been Successfully Integrated


Magento 2 Facebook Pixel is the Magento 2 Extension that allows you to integrate Facebook pixel in Magento 2 pages faster, easier and without any technical knowledge. This extension enables you to track your customers' actions on your store and create personalized Facebook Ads based on the gathered data.

magento 2 facebook pixel

Place Meta pixel ID on your Magento 2 store by navigating to your Magento 2 admin panel > STORES > Configuration. Click “Meta Pixel” beneath APPTRIAN EXTENSIONS and then click YES from Enabled. Click the “Save Config” button on the top of the page to apply the changes.

add facebook pixel to magento 2
  • Log in to your Magento admin account, go to Stores > Configuration > Mageplaza extensions > Google Tag Manager > Settings.
  • Choose Yes to enable the module.
  • Visit your Google Tag Manager account, copy the Container ID.
  • In the General configuration, enter the ID you get into Google Tag ID field.
  • Expand the Facebook Pixel section in your Magento 2 configuration.
  • Enable the feature.
  • Choose the ID variable based on product ID or product SKU.
  • Enter the Pixel ID you get after creating your pixel into the Facebook Pixel ID field.
  • If you leave this field blank or fill in incorrect ID, your Facebook pixel can’t track and report the data on your Facebook ads and your website.
install facebook pixel magento 2
Adobe partner logo
Magento Marketplace logo
See 500+ verified reviews
1 Single points of sales
Trusted by Customers
Are Amasty extensions compatible with all themes and extensions by other vendors?
Amasty extensions work with all plugins we issued and with most 3rd-party plugins. If you come across a Magento 2 compatibility issue with any third-party module, we’ll definitely try to help you. If you face any technical issues, please create a ticket...
Will I get free support and updates?
Product updates for extensions purchased before Feb 1, 2022With the transition to product subscriptions, you will receive product updates for all extensions purchased before Feb 1, 2022 throughout the entire grace period — up to Aug 1, 2022. If you ...
Do you have the installation service?
Yes, you can use installation and configuration services that are available as the part of Pro and Premium add-ons for your product subscriptions.Please note that this installation service doesn’t include uninstallation. So, if you need to completely...
Can I request a free trial?
Amasty doesn’t provide any trials of Magento extensions. There's one exception: Amasty extensions are provided for testing or demo purposes to our official Platinum Partners as a part of the “access to Amasty extensions for testing purposes with Composer...
Can I test an Amasty extension on a staging site before transferring it to a live one?
Yes, you can install any Amasty extension on a test site and configure all the settings there before doing it on your live store.
How can I get a refund?
Amasty offers to its Customers a thirty (30) day money-back guarantee for the Software. In case the acquired extension didn’t meet your expectations, our support team is always ready to help you. Fees for support subscriptions and any services provided...
How can I receive a discount?
We are now working at a loyalty program for our customers that is supposed to bring even greater benefits in the long term. While it’s not out yet, you can look through these Special Offers. New discounts and specials are added every month. To stay ...
How to update a Magento 2 Amasty extension?
To update a Magento 2 extension by manual upload:1. log in to the customer account;2. navigate to the Products tab, scroll to the packages section, and click the Download link next to the extension that should be updated;3. Important: If some extension...
If I need additional features to be added to an Amasty extension, how can I ask for it?
To leave your feature request, log in to your customer account and open the Products tab. Then, scroll down to the bottom of the page, and leave your feature request in the following form: As soon as you send your request, it is considered by our ...
Magento 2 Amasty extensions installation
Each Amasty extension package is provided with the extension files, installation & setup guides, and a license agreement. Some extensions include import files examples as well. So how to install our Magento extension? What is the plugin...
How can I prolong support?
If you have an active support service subscription, it grants you access to support services for all products purchased before Feb,1 as long as your subscription is active. Alternatively, support services are only available as the part of a product ...
Can I change the EE extension to CE for free?
Usually, no, you can’t exchange modules. Please, contact our support managers and they’ll consider your case individually. → Learn more about our special offers
How can I get a discount to re-purchase plugins?
Usually, we don’t provide any discounts. But you can contact us, and we’ll consider your case individually. → Learn more about our special offers
Customer Reviews

Do you need specific features added so you can achieve your business goals?

Drop us a line and we'll customize this extension for you!

You can always download the recent version free of charge from your account installing an upgrade is easy

See Magento (and other software) versions we support and guarantee their compatibility with our extensions

Version 1.1.0
Last Update: May 16, 2024
1.1.0 - May 16, 2024
  • Compatibility we added compatibility with the Hyvä Theme and Hyvä Checkout for the Facebook Pixel. You can find the ‘amasty/module-facebook-pixel-hyva' package for installing in composer suggest (Note: the compatibility is available as a part of an active product subscription or support subscription)
Version 1.0.2
Last Update: Apr 18, 2024
1.0.2 - Apr 18, 2024
  • 1.0.2
  • Compatibility now the extension is compatible with Magento 2.4.7
1.0.1 - Apr 25, 2022
  • Improvement extension composer type was changed to magento2-module
  • New for all Amasty solutions, we have compiled separate packages, each of which includes a unique set of extensions. So that you can more easily find all available updates for your package in the Change Log tab, please find the menu on the left and choose the extension(s) included in the package. (A list of extensions included in a package can be found under the Description tab)

Ratings & Reviews

100% of 100