magestat / module-facebook-pixel
This extension allows you integrate the Facebook pixel to track your website visitors' actions.
Fund package maintenance!
paypal.me/williankeller
Installs: 88 588
Dependents: 0
Suggesters: 0
Security: 0
Stars: 36
Watchers: 6
Forks: 15
Open Issues: 3
Type:magento2-module
Requires (Dev)
- phpmd/phpmd: @stable
- phpspec/phpspec: ^2.5
- squizlabs/php_codesniffer: 3.0.1
This package is auto-updated.
Last update: 2024-12-16 18:14:46 UTC
README
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.
Compatibility
This is the tested versions:
>= 2.3.1 EE/CE
Installation
Install via composer (recommended)
Run the following command in Magento 2 root folder:
composer require magestat/module-facebook-pixel
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
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
- STORES > Configuration > MAGESTAT > Facebook Pixel:
- Enable Module tab, select Enabled option to enable the module (toggling per store).
- Settings tab, Select option if you want to Include Product Taxes.
- Pixel ID tab, Fill the Facebook Pixel Track Code ID.
- 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?
Let us know if your looking for a custom track or one of our events are not triggered properly.
Contribution
Want to contribute to this extension? The quickest way is to open a pull request on GitHub. If we like your suggestion we will add this request for free at the next releases.
Support
If you encounter any problems or bugs, please open an issue on GitHub.