Running Facebook and Instagram Ads for your online store but not getting clear information about customer activity? If you have an ecommerce website built with Bagisto, tracking customer behaviour can help you understand how visitors interact with your store and how your advertising campaigns perform.
At Vfix Technology, we have developed a Bagisto Facebook Pixel extension that helps store owners integrate Meta Pixel and track important ecommerce activities. This open-source Laravel package makes it easier to monitor product views, shopping cart activity, checkout steps and completed orders.
You can explore the package on GitHub and use it to get started with Facebook Pixel integration in your Bagisto store.
Facebook Pixel, now commonly known as Meta Pixel, is a tracking tool that helps website owners measure visitor activity and understand the performance of their Facebook and Instagram advertising campaigns.
For example, a customer may visit your website, view a product, add it to the cart and leave without completing the purchase. With correctly configured tracking, you can measure these activities and use eligible website visitor data to create audiences for remarketing campaigns.
Meta Pixel can also help advertisers understand which campaigns generate useful actions on their websites.
For ecommerce businesses, this information can be valuable when planning advertising budgets and improving the customer shopping experience.
Bagisto is an open-source ecommerce platform built with Laravel. Store owners can use it to create and manage online stores with product catalogues, shopping carts, checkout and order management features.
However, to measure customer activity from Meta Ads, you need suitable tracking integration.
Our Bagisto Facebook Pixel integration is designed to simplify this process. Instead of manually adding tracking code throughout your storefront, you can install the extension and configure it through your Bagisto admin panel.
The extension supports multiple ecommerce events, helping you understand what customers do before completing an order.
The extension supports Composer-based installation and Laravel service provider auto-discovery in standard supported Bagisto configurations.
After installation, you can configure Facebook Pixel from the Bagisto admin panel.
You do not need to manually register the service provider when normal auto-discovery is enabled.
The ViewContent event helps you understand when customers visit product detail pages.
This event can provide useful information about which products attract attention from visitors coming through your advertising campaigns.
The AddToCart event helps track when customers add products to their shopping carts or use supported Buy Now interactions.
This information can help you identify products that attract interest but may not lead to completed orders.
The extension supports tracking for several checkout stages, including:
ViewCart
InitiateCheckout
AddShippingInfo
AddPaymentInfo
These events help you understand how customers move through the buying process.
For example, if many customers reach checkout but few complete their orders, you can investigate possible issues with shipping charges, payment methods or the checkout experience.
Purchase tracking is particularly important for ecommerce businesses running paid advertisements.
The extension listens for the relevant Bagisto order event and can send purchase information, including order value and payment method, to the configured tracking integration.
This can help you measure advertising performance more effectively.
However, you should always test your configuration and verify that purchases are recorded correctly. Incorrect event configuration or duplicate tracking can affect reporting accuracy.
Different businesses may have different tracking requirements.
Our extension lets administrators enable or disable the supported ecommerce events individually from the configuration panel.
PageView tracking is enabled automatically when the Pixel is active.
The extension includes debugging options to help developers check tracking behaviour during setup and testing.
This can be useful when verifying whether events are triggered correctly before using the integration on a live ecommerce website.
You can install the package using Composer.
Step 1: Open your Bagisto project directory
Access your Bagisto installation through SSH or your development environment.
Step 2: Install the extension
Run the following command from the root directory of your Bagisto project:
composer require vfixtechnology/bagisto-facebook-pixel
Step 3: Refresh Composer autoload and clear Laravel caches
Run these commands:
composer dump-autoload
php artisan optimize:clear
Step 4: Configure Facebook Pixel
Log in to your Bagisto admin panel and navigate to:
Configure → Facebook Pixel
Enable Facebook Pixel, enter your Meta Pixel ID and select the events you want to track. You can also configure the available debugging option.
Save the settings to complete the initial configuration.
Before using the integration for advertising decisions, test the supported events and confirm that they appear correctly in your Meta tracking tools.
For detailed installation instructions and the latest package information, visit the official GitHub repository:
https://github.com/vfixtechnology/bagisto-facebook-pixel
This extension can be useful for:
Ecommerce businesses running Facebook Ads.
Online stores promoting products through Instagram Ads.
Bagisto developers looking for a Facebook Pixel integration.
Businesses that want to measure product views and completed purchases.
Store owners planning remarketing campaigns.
Developers who want an open-source solution for Bagisto.
The package requires PHP 8.3 or later and supports Bagisto 2.3.x and 2.4.x, according to its current documentation. Check the repository for compatibility before installing it on your store.
Tracking customer activity is an important part of managing an ecommerce advertising campaign. Without properly configured tracking, it can be difficult to understand how visitors interact with your store after clicking an advertisement.
The Bagisto Facebook Pixel extension by VFix Technology provides a convenient way to configure Meta Pixel and track important ecommerce events, including product views, cart activity, checkout steps and purchases.
The package is open source under the MIT licence, making it available for developers and businesses to use, modify and distribute under the licence terms.
If you need help installing the extension, configuring events or customising tracking for your Bagisto ecommerce website, VFix Technology can assist you.
Explore the extension: https://github.com/vfixtechnology/bagisto-facebook-pixel
Need installation or custom development support?
Visit https://www.vfixtechnology.com or contact Vfix Technology at info@vfixtechnology.com.