Odoo Facebook Conversions API | Meta Conversion API Integration
by Garazd Creation https://garazd.biz/shop/odoo-facebook-conversions-api-146$ 218.14
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Website (website)
• Discuss (mail) • eCommerce (website_sale) • Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 2891 |
| Technical Name |
website_sale_facebook_capi |
| License | OPL-1 |
| Website | https://garazd.biz/shop/odoo-facebook-conversions-api-146 |
| Versions | 14.0 15.0 16.0 17.0 18.0 19.0 |
This module extends the functionality of the Facebook Pixel eCommerce app
If you have already purchased it for Odoo 19.0, you will pay only
Integrate Meta Conversions API to get enhanced conversion tracking and Odoo website events analytics
The Meta Conversions API (CAPI) transmits marketing data, such as website events and customer information, directly from your server to Meta Ads Manager (formerly Facebook Ads Manager).
The Odoo Meta CAPI module integrates and configures the Conversions API in Odoo, collects website analytical data, and sends event data to Meta Events Manager to launch advertising campaigns on Facebook and Instagram.
Watch Demo
Watch the video tutorial
Community & Enterprise
Compatible with Odoo CE and EE
Support
Free 90 days support and 360 days bug-fixing
Try me
Demo & Test. Click on the "Live Preview" button
Why choose this module
Key benefits that make this solution reliable, scalable, and easy to use
eCommerce Events
Track every visitor action on the eCommerce website, including product views, add-to-cart actions, purchases, and more
Tracking Logs
Use internal logs to analyze and monitor visitor actions on your website
Purchases
Configure purchase tracking depending on the payment status according to your business requirements
Enhanced Conversions
Optimize advertising campaigns by providing user data. Track and analyze customer behavior to improve conversions and sales
Complete Tracking
Receive data directly from the server, even when browser ad blockers are used
Event Deduplication
Support for automatic deduplication of tracking events
How to get Pixel ID
Perform the following steps to obtain a Pixel ID before adding the JS script to the website:
-
01Log in to the Meta Ads Manager account
-
02Navigate to Events Manager — Integrations — Meta Pixel
-
03Select an existing dataset or create a new one in the pop-up window
-
04Select the Add Meta Pixel code to website yourself option
-
05Skip the next steps by clicking Next
Navigate to the Datasets section and copy the Dataset ID:
Activation
After installing the module, go to the website settings and enable the Activate Tracking option in the Enhanced Website Tracking section. To test your website tracking and view tracking events in the browser console, temporarily enable the Debug Logging feature:
Cookie Consent Settings
The module includes a cookie consent management feature for Meta Pixel, which integrates with the native Odoo cookie bar. To use this feature, enable the Cookies Bar:
By default, all Meta cookie consents are granted. To change this and revoke default consent for website visitors, enable the Facebook Pixel — Consent is Revoked (by default) option. Once enabled, Meta cookie consent is granted after a visitor clicks I agree and is revoked if the visitor clicks Only essentials.
Tracking Service Configuration
To send eCommerce events to Meta Ads Manager, first add and configure a tracking service for your Odoo website.
Adding a Tracking Service
Go to the Website - Configuration - Tracking - Services menu and click New to add a new tracking service:
Firstly, fill in the following fields in the new tracking service:
- Specify a Website (if using multiple websites)
- Select Facebook Pixel as the service Type
- Paste your Pixel ID into the Key field
Then, specify the type of product identifier and product category sent to Meta Ads Manager:
If products have attributes and variants, choose Product Variant ID in the Item Type field; otherwise, select Product Template ID.
Select the desired Category Type: an eCommerce Public Category or an internal Product Category.
The next option is the Lead Value on the Options tab:
This field represents the monetary value of a lead generation, based on estimated evaluations.
Conversions API Setup
Enable the Internal Logs option:
Before configuring the API in Odoo, obtain an access token in Meta Ads Manager:
-
01Open your dataset and navigate to the Settings tab
-
02Select the Set up with Dataset Quality API in the Conversions API section
-
03Click the Generate access token button
-
04Copy the access token
After that, return to Odoo and activate API mode by completing the following steps in the API section:
- Enable the Activate option
- Paste the copied Conversions API key into the Access Token field
Advanced Matching
The Advanced Matching feature optimizes your Meta ads by providing user data to Facebook. Enable Advanced Matching for Pixel events in both Meta Ads Manager and Odoo.
Activation in Meta Ads Manager
Navigate to Meta Ads Manager, open the Datasets menu, and select the Settings tab for your dataset:
Enable the Automatic website matching option and specify which customer information to share with Facebook.
Activation in Odoo
Return to Odoo and open the Advanced Matching tab in the Facebook tracking service. Replicate the settings for the user data sends to Facebook:
Customer Data Source
Use the Sales Order Partner value for Customer Data Source, as it provides more user details if visitors check out as guests without registration:
Sending Tracking Data
Internal logs record visitor actions on your Odoo website to assist with further analysis and monitoring. Click the Logs button at the top of the form:
Enable the State and API Sent Date columns to display a status and the date of event sending through the Conversions API:
Scheduled Actions
The module uses a scheduled action to send tracking events periodically. By default, this action runs every 30 minutes, but you can adjust this interval to meet your requirements:
To send tracking data manually, select tracking logs from the list or open a log and click on Send Event:
Sensitive Data Cleanup
Because tracking logs contain sensitive data such as IP addresses and user agents, configure a cleanup schedule. Go to the website settings and set the cleaning period. The default period is 30 days:
Enable the Unlink Logs After Period option to completely remove tracking logs older than the specified period.
Advanced Settings
The module includes additional settings available in Developer Mode.
Product Identifier
The solution uses the Product ID field as a unique product identifier. To use a different value, specify another product field containing the desired identifier on the Technical tab:
Purchase on Portal
To track portal purchases, enable the Track Purchase on Portal option:
Exclude Delivery
The next available setting for tracking services is Exclude Delivery. When enabled, the service excludes delivery lines from sales orders in tracking data transmissions:
Exclude Rewards
To exclude reward order lines from tracking data, enable the Exclude Reward option:
Add to Cart
By default, the module tracks the actual addition of a product to the cart. To track the event upon clicking the button without waiting for the actual addition to the cart, perform the following steps:
- Navigate to Website — Configuration — Websites
- Open the website on the Enhanced Tracking tab
- Enable the Add to Cart on Click option
Purchase
To track purchases only after a successful payment transaction, enable the Track Confirmed Purchases only option:
If business logic considers an order with a Pending payment status as a purchase, enable the Track Pending Purchases too option as well.
Testing
Perform the following steps to verify the Meta Conversion API integration:
-
01Log in to your Meta Ads Manager account
-
02Open your dataset and navigate to the Test Events tab
-
03Select Website from the channel list
-
04Open the Confirm your server’s events are set up correctly section
-
05Copy the test_event_code
Next, return to Odoo and paste the copied Test Code into the tracking service options. Also, enable the Remove JS Script option to prevent the Pixel script from sending events to Meta before the Conversions API:
Perform a few actions on your Odoo website, such as viewing a product page or adding an item to the cart. Navigate to the logs list and send these events manually.
If the state is Warning or Error, review the API Response value on the Technical tab for detailed information:
The Sent state indicates that the Conversions API successfully transmitted the event:
Return to Meta Ads Manager and verify the results:
Garazd Creation
Team from Ukraine
Our Odoo Apps are solutions to promote products and enhance sales
Expands the capabilities of Odoo and provides the required functionality
Developed by experienced Odoo specialists in collaboration with marketing and SEO experts
years on the market
specialize in customized solutions for Odoo, where we are experts
sales and downloads
made in the Odoo Apps Store
ranks in the TOP-10
popular solutions in Odoo Apps among 60,000 modules
Our Expertise
Official Odoo Partner
Active OCA Member
With Odoo since 2014
Odoo Development Domains
Website Tracking
Track online events of your website visitors to provide accurate tracking data for analytics and advertising services, optimize the website, and drive sales
Data Feeds & Marketplace Integrations
Transfer product data and manage orders from marketplaces with your Odoo. Generate data feeds for integration with marketing and analytics systems
Product Labels
Create labels with your own design through the Odoo UI, without involving designers or developers. Print labels not only for products — quickly and conveniently
eCommerce and SEO
Add new and enhance existing online sales opportunities. Improve your website SEO and attract organic traffic
Effective solutions for the global market
Creating
high-quality, flexible and reliable business solutions
Taking care of
timely support for users of our modules
Having
an entrepreneurial background, we understand exactly what we are doing
Paying attention
to user-friendliness and understandable UI/UX design
Providing
additional materials for easy use of the product
Conducting
marketing activities and providing high-quality information support
Contact Us
Website
Get Support
Watch on YouTube
- Module version: 19.0.1.0.2
- Copyrights: Module design is reserved. Unauthorized copying or redistribution of the design is prohibited. Copyright © Garazd Creation
Changelog
19.0.1.0.2 2026-05-21
- Improve tracking logic.
19.0.1.0.1 2026-03-10
- Improve sending of tracking data by CAPI.
19.0.1.0.0 2025-10-12
- Migration from 18.0.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Website (website)
• Discuss (mail) • eCommerce (website_sale) • Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 2891 |
| Technical Name |
website_sale_facebook_capi |
| License | OPL-1 |
| Website | https://garazd.biz/shop/odoo-facebook-conversions-api-146 |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module