Enhance your Drupal site with Meta's (Facebook's) advanced pixel tracking capabilities using my custom Meta Conversions API module. This module seamlessly integrates with the Meta Business SDK, providing a robust solution for server-side event tracking.
By sending events directly to Meta's servers, this module ensures more accurate and controlled data management, bypassing browser restrictions and ad blockers to prevent interference with event tracking.
It's hard to say exactly, but it's estimated that around 40% of internet users use some form of ad blocker that can prevent the sending of pixel events from the browser. Therefore, implementing event sending directly from the server is crucial.
1. Key Features
- Enhanced Tracking Accuracy: Direct server-to-server event transmission for improved data accuracy and control.
- Comprehensive Event Support: Fully supports critical e-commerce events.
The module comes as a basic version which is free, and a PLUS version that includes additional events and a log where you can see all the requests sent from your server to Meta's servers. This way, you can try the basic version of the module for free and use it as much as you want. If you need additional events and the log, you can pay for access to the Plus version.
2. Supported Events
2.1 Meta Conversions API module (Free)
- PageView: Captures and sends view data for all pages, not just product pages, directly from the browser.
- ViewContent: Triggers when a user views a product, sending the data from the server.
- AddToCart: Activates when a product is added to the cart, with the data sent from the server.
2.2 Meta Conversions API Plus module (Support Contribution)
- InitiateCheckout: Executes when a checkout is initiated, sending the information from the server.
- Purchase: Executes when a purchase is completed, sending the information from the server.
3. System Requirements
- PHP version 8.1 or higher.
- Compatible with Drupal versions 9, 10, and 11.
- Drupal Commerce must be installed.
- To enable the InitiateCheckout event, you must install the following Drupal Commerce patch: Introduce a checkout init event. If you are not sure how to patch the module, check my guide on how to patch a Drupal module.
4. Get the modules
4.1 Meta Conversions API module (Free)
You can download the module by clicking here or install it using Composer:
composer require gnikolovski/capi
To make updating the module easier in the future, I recommend installing the module using Composer.
4.2 Meta Conversions API Plus module (Support Contribution)
This module requires a modest investment for access. A fee of 100€ covers two hours of programming work necessary for its ongoing development and enhancement. This funding approach ensures dedicated time and resources to improve the module further.
Once you pay, you can use the module on as many websites as you want, and all future minor versions will be available to you for free.
If you want the module, contact me, and I'll send it to you. Once you test it and confirm it works for you, you can make the payment via PayPal or through GitHub's sponsor program.
To learn more about the module and how to set it up and use it, check out my blog post on the Conversion API module for Drupal.
5. Support when you need it
Though my module comes without a warranty, I understand the importance of support in your journey. I offer 1 hour of email support to assist you with any issues or queries. Please note that I currently do not provide support via calls or meetings.
Please note that the Meta Conversions API and Meta Conversions API Plus modules are provided without any warranty. This means that there are no guarantees or assurances of any kind, either expressed or implied, regarding the functionality, performance, or suitability of the module for any particular purpose. The user assumes all risks associated with the use of the module. In no event shall the provider be liable for any damages, including but not limited to direct, indirect, incidental, special, or consequential damages, arising out of or in connection with the use or performance of the module.