Get a fresh start of the year! ✨ Discounts starting from 1 extension in cart SHOP NOW

Facebook Pixel for Magento 2

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

See available pricing options!

Activate support subscription
to access support service
Covers all products
in your account
90 days free trial
support subscription

Get the bundle with 10% discount

Save $45.70

📍 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

With the Pixel, it becomes possible 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.

NEW | 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.


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

[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.

We need your advice!

Please share with us a few words about your experience and business challenges in 1-min survey.

Make your strategic decisions data-driven

Choose the pricing plan that suits your business challenges

Facebook Pixel Lite


  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
  • All Lite features 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?

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.

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

Adobe partner logo
Magento Marketplace logo
See 216+ 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 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?
To access the support service, you need to activate a support subscription in your customer account. Thus, all possible technical issues will be handled by professionals. Support subscription covers all the extensions in your account and comes with 90...
Do you have the installation service?
Yes, we provide a professional installation service. You can purchase it when ordering an extension. If you buy more than 1 extension in one order, we can install all of them! If you need to configure plugins according to your business needs, you can...
Can I request a free trial?
Amasty doesn’t provide any trials of Magento extensions. But we have a 60-day money-back guarantee. 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...
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 provides a 60-day money-back guarantee. In case the acquired extension didn’t meet your expectations, our support team is always ready to help you.  To get a full or partial refund of your order, please create a ticket in our support...
How can I receive a discount?
According to the rules of Amasty's Reward Program, you get $15 back to your reward points for every $100 spent.You can spend them to buy other extensions or services from our catalog.These Points are valid for 60 days from the purchase date. You can...
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?
When you get any support subscription plan, it will be prolonged automatically. Also, you can cancel your subscription at any time. For this, go to your customer account and open the Subscriptions tab. If you cancel your subscription, the service will...
What should I do if my Reward Points have expired?
According to our reward program, the Reward Points are valid for 60 days starting from the moment they’re transferred to your account. But we always try to stay supportive, so you can create a ticket, and we’ll consider your case individually...
How can I use my Reward Points?
How to check your reward points balance? Step 1. Log in to your customer account or create a new one. After this, you will be redirected to your account dashboard. Step 2. In the left menu choose Reward points. Step 3. You will see your current reward...
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

Are you looking to add specific functionality for this extension or want to acquire a reliable development partner altogether? With custom development services by Amasty, you will receive high quality and cost-effective solutions developed by Magento professionals according to industry’s best practices.

Request a Quote

Submit this form now and we will get back to you promptly!

What feature your extension lacks?

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: Nov 22, 2021
1.1.0 - Nov 22, 2021
  • New we added the possibility to set up and manage multiple Facebook IDs for separate store views
Version 1.0.1
Last Update: Jul 05, 2021
1.0.1 - Jul 05, 2021
  • Improvement we updated configuration link in admin panel

Ratings & Reviews

100% of 100
© 2009-2022 Amasty. All Rights Reserved.