PHPackages                             magestat/module-facebook-pixel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. magestat/module-facebook-pixel

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

magestat/module-facebook-pixel
==============================

This extension allows you integrate the Facebook pixel to track your website visitors' actions.

1.0.5(6y ago)36108.4k↓35.2%15[3 issues](https://github.com/magestat/magento2-facebook-pixel/issues)OSL-3.0PHP

Since Apr 8Pushed 4y ago5 watchersCompare

[ Source](https://github.com/magestat/magento2-facebook-pixel)[ Packagist](https://packagist.org/packages/magestat/module-facebook-pixel)[ Fund](https://paypal.me/williankeller)[ RSS](/packages/magestat-module-facebook-pixel/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (8)Used By (0)

Facebook Pixel for Magento 2
============================

[](#facebook-pixel-for-magento-2)

This free Facebook Pixel extension allows you to track your visitors' actions by sending events to your Facebook Ads Manager and the Facebook Analytics dashboard where they can be used to analyze the effectiveness of your conversion funnel and to calculate your return on ad investment.

*This extension is also compatible with **[Magento Cookies Policy](https://docs.magento.com/m2/ce/user_guide/stores/compliance-cookie-restriction-mode.html)**.*

[![Build Status](https://camo.githubusercontent.com/d71da04d62cc7b279f698dd8ae6ead718db6064e60e8729d124196eaecfd81b3/68747470733a2f2f7472617669732d63692e6f72672f6d616765737461742f6d6167656e746f322d66616365626f6f6b2d706978656c2e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/magestat/magento2-facebook-pixel) [![Packagist](https://camo.githubusercontent.com/0316b80f6ad17df4f0c38d652c9d2bf18412ec742effbad3dde9e1520121bc92/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d616765737461742f6d6f64756c652d66616365626f6f6b2d706978656c2e737667)](https://packagist.org/packages/magestat/module-facebook-pixel) [![Downloads](https://camo.githubusercontent.com/acaac39a5ee87b2cef3ef591bdd4f9c93ee9e84f4c9348630af70fe98a28522e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d616765737461742f6d6f64756c652d66616365626f6f6b2d706978656c2e737667)](https://packagist.org/packages/magestat/module-facebook-pixel)

Compatibility
-------------

[](#compatibility)

This is the tested versions:

```
>= 2.3.1 EE/CE

```

Installation
------------

[](#installation)

### Install via composer *(recommended)*

[](#install-via-composer-recommended)

Run the following command in Magento 2 root folder:

```
composer require magestat/module-facebook-pixel
```

### Using GIT clone

[](#using-git-clone)

Run the following command in Magento 2 root folder:

```
git clone git@github.com:magestat/magento2-facebook-pixel.git app/code/Magestat/FacebookPixel
```

Activation
----------

[](#activation)

Run the following command in Magento 2 root folder:

```
php bin/magento module:enable Magestat_FacebookPixel
```

```
php bin/magento setup:upgrade
```

Clear the caches:

```
php bin/magento cache:clean
```

Configuration
-------------

[](#configuration)

1. **STORES** &gt; **Configuration** &gt; **MAGESTAT** &gt; **Facebook Pixel**:
2. **Enable Module** tab, select **Enabled** option to enable the module (toggling per store).
3. **Settings** tab, Select option if you want to Include Product Taxes.
4. **Pixel ID** tab, Fill the Facebook Pixel Track Code ID.
5. **Track Options** tab, Select which events you want to track.

**Currently tracking:**

- Page view:
    - Content view
    - All and every page load
- Product page:
    - Content view
    - **Add to cart** event
- Checkout page:
    - Content view
    - **Initiate checkout** event
- Success page
    - Content view
    - **Purchase** event

Missing an Event Track?
-----------------------

[](#missing-an-event-track)

Let us know if your looking for a custom track or one of our events are not triggered properly.

Contribution
------------

[](#contribution)

Want to contribute to this extension? The quickest way is to open a [pull request on GitHub](https://help.github.com/articles/using-pull-requests). If we like your suggestion we will add this request for free at the next releases.

Support
-------

[](#support)

If you encounter any problems or bugs, please open an issue on [GitHub](https://github.com/magestat/magento2-facebook-pixel/issues).

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity44

Moderate usage in the ecosystem

Community18

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 70% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~75 days

Recently: every ~94 days

Total

6

Last Release

2218d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2963928?v=4)[Willian Keller](/maintainers/williankeller)[@williankeller](https://github.com/williankeller)

---

Top Contributors

[![williankeller](https://avatars.githubusercontent.com/u/2963928?v=4)](https://github.com/williankeller "williankeller (14 commits)")[![erfanimani](https://avatars.githubusercontent.com/u/930470?v=4)](https://github.com/erfanimani "erfanimani (4 commits)")[![breakerh](https://avatars.githubusercontent.com/u/2008632?v=4)](https://github.com/breakerh "breakerh (1 commits)")[![LiamKarlMitchell](https://avatars.githubusercontent.com/u/1968109?v=4)](https://github.com/LiamKarlMitchell "LiamKarlMitchell (1 commits)")

---

Tags

facebook-pixelmagento-extensionmagento2-facebookmagento2-facebook-pixelmagento2-modulemagento2-pixelpixel-trackmagento 2facebook pixelmagento extensionmagento facebookpixel trackfb pixel

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/magestat-module-facebook-pixel/health.svg)

```
[![Health](https://phpackages.com/badges/magestat-module-facebook-pixel/health.svg)](https://phpackages.com/packages/magestat-module-facebook-pixel)
```

###  Alternatives

[magepal/magento2-googletagmanager

Google Tag Manager (GTM) for Magento 2 with Advance Data Layer

2671.5M4](/packages/magepal-magento2-googletagmanager)[yireo/magento2-webp2

Magento 2 module to add WebP support to the Magento frontend

2091.2M7](/packages/yireo-magento2-webp2)[mageplaza/magento-2-blog-extension

Magento 2 Blog extension

123708.2k5](/packages/mageplaza-magento-2-blog-extension)[mageplaza/magento-2-seo-extension

Magento 2 SEO extension

138506.6k2](/packages/mageplaza-magento-2-seo-extension)[magepal/magento2-reindex

Reindex your Magento2 store quickly and easily from backend/admin, instead of command line.

112649.7k1](/packages/magepal-magento2-reindex)[tig/postnl-magento2

TIG Magento 2 PostNL extension

58544.2k4](/packages/tig-postnl-magento2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
