| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Website (website)
• eCommerce (website_sale) • Discuss (mail) • Invoicing (account) |
| Lines of code | 116 |
| Technical Name |
website_facebook_pixel_integration |
| License | OPL-1 |
| Website | https://khichdiinfotech.com/ |
| Versions | 16.0 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Website (website)
• eCommerce (website_sale) • Discuss (mail) • Invoicing (account) |
| Lines of code | 116 |
| Technical Name |
website_facebook_pixel_integration |
| License | OPL-1 |
| Website | https://khichdiinfotech.com/ |
| Versions | 16.0 17.0 18.0 19.0 |
Meta Pixel tracking for your Odoo website
This module connects your Odoo website with Meta (Facebook) Pixel so you can understand how visitors browse your store, which products they view, and which campaigns lead to purchases.
Track the full ecommerce journey
The integration injects the Meta Pixel on public website pages and sends structured ecommerce events for key steps in the funnel. You can use these events in Ads Manager to measure conversions, build audiences and optimise campaigns.
The implementation is based on standard Odoo website hooks, so you keep your existing themes and templates while still getting accurate tracking for page views, product views, cart activity and orders.
Pixel installed from website settings
Add your Meta Pixel ID once in Website ⸠Configuration ⸠Settings and let the module handle the script injection on all public pages.
Automatic PageView tracking
Sends a PageView event whenever a visitor browses your site, including a page name so you
can analyse which sections are most visited.
Product ViewContent events
On product pages, the module fires ViewContent with product identifiers and name to
support catalogâbased remarketing.
AddToCart and Purchase events
Cart and checkout steps are tracked with AddToCart and Purchase events that
include product IDs, quantities, order value and currency.
- Open Website ⸠Configuration ⸠Settings in your Odoo backend.
- In the tracking section, enable the Facebook | Meta Pixel option.
- Paste the Pixel ID from your Meta Events Manager (for example:
123456789012345). - Save the settings to apply the changes on your public website.
After saving the settings, the Pixel initialization code is injected into the HTML source of your public pages. You can inspect it in your browser developer tools to confirm that the correct ID is used.
The easiest way to confirm that events are firing correctly is to use the Meta Pixel Helper browser extension. After installing it, browse your Odoo website and check which events are detected on each page.
- Test in an incognito / private browser window or a browser where you are not logged into Odoo.
- Place a test order in the online shop and confirm that
ViewContent,AddToCartandPurchaseare reported by the helper. - If the extension is not available, you can also inspect network calls to
https://www.facebook.com/tr/using your browser's developer tools.
The screenshot below illustrates a typical addâtoâcart interaction on the Odoo website and the corresponding event data captured by the Pixel. This helps you verify that product identifiers, quantities and values are sent as expected.
When a visitor opens a product page, the module emits a ViewContent event that includes the
product ID and name. In Meta Pixel Helper you can confirm that the correct product is being tracked for
each page view.
After checkout, a Purchase event is sent from the order confirmation page. The event contains
the list of purchased items, their quantities, the total order value and currency so you can measure
conversions and revenue in your Meta reports.
Odoo services by Khichdi InfoTech
Khichdi InfoTech implements and supports Odoo for companies that need reliable, longâterm partners. We help you connect your website, sales and backâoffice flows so that your data stays consistent.
For assistance with this Meta Pixel integration or other custom requirements, feel free to reach out.
Phone
+91â9974768675
Sales: contact@khichdiinfotech.com
Support: support@khichdiinfotech.com
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