Home / Blog / How to add Facebook Pixel on Magento 2
How to add Facebook Pixel on Magento 2

How to add Facebook Pixel on Magento 2

  • Anna KoshevaAnna Kosheva
  • June 01, 2022

    June 01, 2022

Making Meta ads work is not so easy. Without an accurate understanding of user behavior, creating effective campaigns on Meta will be quite difficult.

That’s why you need Meta Pixel – a small piece of code that matters a lot. You add a Meta pixel to Magento 2, allow it to track information about various events that users perform on your website, and send this data to Meta Ads Manager.

The data collected Meta pixel script  allows you to set up a Meta ad that converts.

So how do you add a Meta Pixel to your Magento 2 site?

Why do you need Meta Pixel?

The Meta pixel has great importance in three areas: Audience creation, measurement, and optimization.

Meta Pixel collects:

  • Key page views
  • Product searches on your website
  • Add to cart/wishlist
  • Checkout
  • Add payment information
  • Purchases or checkout flow
  • Lead
  • Subscription, sign-up

How to install it? 

1. Install the Meta Pixel extension for Magento 2.

2. Go to Stores> Condition> Pronko Extensions> Meta Pixel and click Stores> Configuration> Meta> Business Extension.

3. Start integrating the Meta Business module.

4. Continue integrating with your Meta account. If you don’t have a Meta account, create one.

5. Start opening your store and choose what you want to manage by adding a Meta pixel to your Magento store.

6. Select Business Manager. If you don’t have a Meta Business account, create one. It allows you to manage your Meta page, directory, and pixel.

7. Add your Meta page to your Magento 2 store to be able to show your products in the Meta store. Create a Meta page if you haven’t already.

8. Add your Instagram to Magento 2 if you’ve linked your Instagram account to Meta Manager.

9. Select the Magento Catalog that you want to add to Meta and create dynamic ads based on the data collected by Meta Pixel.

10. Add your Meta Ads account if you want to advertise your products or services or just skip the connection.

11. Select the Meta Pixel you want to add to the Magento store.

Magento – Meta Pixel is a pixel that will be added to the builds of your website as soon as you finish integrating the Meta Business module. If you have created some pixels before, they will also appear in this list.

12. Verify your Commerce Account, the Meta page you added earlier.

Once you have verified your Commerce Account, you will see all the information you provided earlier. Review and check it out. Then you will see what Meta for Magento will have access to. Some options are required and some you can disable. This is the last step. So when you click Next, your Magento 2 store will be integrated into Meta, and Meta pixel will be added to your store pages.

Do you want to add Meta Pixel? Get support with Pronko Consulting and Meta Pixel extension: 

  • Add Facebook Pixel on all Pages
  • Track dynamic events such as Product view, Category view, and add to cart
  • Track conversion on your website
  • Enable or disable dynamic events separately
  • Easily manage Facebook integration from Magento Admin

Please, contact us if you have any questions at support@pronkoconsulting.com

  • Anna KoshevaAnna Kosheva
  • June 01, 2022

    June 01, 2022

Sign up and don't miss our awesome Mage Mastery lessons and updates!

Related Posts
1
Dec

Magento 2 Quick Start: Installation using Composer

The tutorial is for those who are looking to get a experience on how to install Magento 2 Open Source on a local development environment. A step-by-step video guide for developers.
23
Mar

CMS Block and Page in Magento 2

In this tutorial we will reveal the difference between CMS Page and Block in Magento 2.
22
Jul

How to Configure Varnish 6 and nginx with ssl for Magento 2

In this tutorial, we are going to set up and configure Varnish Cache with nginx and SSL (https) certificate for a Magento 2 Open Source.
If you like this blog post, you may want to watch
Start: March 28, 2021
Intermediate
 
Max Pronko
Web Icon20 lessons
Clock Icon15 hours
Adobe Certified Professional — Magento Commerce Developer Study Group is an 10-week (1.5 hours/week) instructor-led study group. This study group will help PHP and JavaScript developers evaluate their readiness and prepare for the Adobe Certified Professional — Magento Commerce Developer exam.
Start: March 15, 2021
Advanced
 
Max Pronko
Web Icon80 lessons
Clock Icon15 hours
Magento 2 Development Workshop is for those who want to practice and learn how to implement Magento 2 extensions. During the workshop, you will have lots of homework, practical exercises, video lessons, and theory that will give you the required skills for your Magento 2 job.
2022 © Made with ❤ by Max Pronko