If you need to run Facebook ads, but if you don’t have easy access to a developer then getting the tracking code implemented for Facebook isn’t easy. Here at Cadence Labs we’ve created a free Magento 2 Facebook Tracking Pixel extension which is great for running retargeting ads on Facebook. Our extension will be on the Magento Marketplace soon. With the extension installed on your Magento 2 site, you can track many of the various Facebook pixel events.
HOW TO INSTALL OUR MAGENTO 2 FACEBOOK PIXEL EXTENSION
Install manually using github:
mkdir -p app/code/Cadence/Fbpixel && git clone https://github.com/cadencelabs/m2-fbpixel app/code/Cadence/Fbpixel
php bin/magento setup:upgrade
Get Your Facebook Pixel
After you login to the Ads Manager, go to Tools -> Pixels
By default, you should see the Facebook Pixel Tab – you will find your Pixel ID on the right side of the screen:
Enter Your Pixel Id
Once you’ve found your Pixel ID, enter it into the Magneto admin under Stores -> Configuration -> Cadence Labs -> Facebook Pixel.
Our Extension Tracks Multiple Events
This extension supports stores with multiple currencies, and tracks the below events:
- Add To Cart
- Add To Wishlist
- Initiate Checkout
- View Product
- Search Products
You must enable the events you want to track in the admin.
**At this time Facebook does not track order IDs, products or other information about the purchase. We recommend tracking this information using Google Analytics.
Need help installing the extension?
We’ve had a lot of experience developing & installing extensions. If you need help, head over to the Cadence Labs contact page, or email us at firstname.lastname@example.org. We provide support for this and other Magento issues at affordable rates.