Skip to Content

Meta Pixel eCommerce (formerly Facebook Pixel)

5.0 / 5
https://garazd.biz/web/image/product.template/24/image_1920?unique=fef1b83

125.75
98.09 265
98.08655352304437 USD

Not Available For Sale

  • Odoo Version

  • Price

This combination does not exist.

Price: Paid

Overview

Meta Pixel (formerly Facebook Pixel) is an analytics tool (JS script) that collects data on website visitor actions.

The Odoo Meta Pixel eCommerce module adds this script to all Odoo webpages and sends visitor activity data to Meta Ads Manager. Use this analytics data to analyze customer behavior in your online store and run advertising campaigns on Facebook and Instagram.

To connect your Odoo website to Meta Ads Manager via server-side integration, use the Odoo Meta Conversions API module.

Availability
Odoo Online
Odoo.sh
On Premise
Compatibility
Community
Enterprise
Technical Name website_sale_facebook_pixel
Version 19.0.1.0.3
License OPL-1
Category
Support Free 60 days support and 360 days bug-fixing

Use Case

Jorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero et velit interdum, ac aliquet odio mattis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

Forem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero et velit interdum, ac aliquet odio mattis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

Dorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero et velit interdum, ac aliquet odio mattis.

It is a long established fact that a reader will be distracted by the readable content of a page

Korem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero et velit interdum, ac aliquet odio mattis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

Korem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vulputate libero et velit interdum, ac aliquet odio mattis.

Odoo App Installation

Upload modules

Upload modules from the ZIP archive to your Odoo hosting, or a GitHub repository connected there.

Place the unzipped modules in your custom add-on directory and restart the Odoo system service.

Update App List

After restarting, activate the Developer Mode, and go to the Apps menu.

Odoo Update App List

Click on Update Apps List to fetch the new modules in the list.

Activate the App

Install the new module, finding it by name and clicking on the Activate button.

Odoo App Installation

* If you don't see the module, try to remove the default Apps filter from the search bar.

Configuration

Follow the instructions in the module description to complete the installation process and start using the app.

View Odoo App Description

Manual

fa code

How to get Pixel ID

Perform the following steps to obtain a Pixel ID before adding the JS script to the website:

events manager integrations meta pixel
  • 01
    Log in to the Meta Ads Manager account
  • 02
    Navigate to Events Manager — Integrations — Meta Pixel
  • events manager meta pixel connect dataset
    events manager add meta pixel code to website yourself
  • 03
    Select an existing dataset or create a new one in the pop-up window
  • 04
    Select the Add Meta Pixel code to website yourself option
  • 05
    Skip the next steps by clicking Next

Navigate to the Datasets section and copy the Dataset ID:

events manager datasets dataset meta pixel id
check circle fill

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:

odoo settings website activate tracking debug logging
fa cookie

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:

odoo website settings tracking seo cookies bar facebook pixel consent revoked

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.

ads click rounded

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:

odoo website configuration tracking services new

Firstly, fill in the following fields in the new tracking service:

odoo meta facebook pixel tracking service website type key
  • 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:

odoo meta facebook pixel tracking service item category type

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:

odoo tracking service options lead value

This field represents the monetary value of a lead generation, based on estimated evaluations.

Tracking Logs

The solution includes an internal logging feature. To activate it, enable the Internal Logs option:

odoo tracking service options internal logs

To view logs, go to the Website - Configuration - Tracking - Logs menu or click the Logs button at the top of the form:

odoo meta facebook pixel tracking service logs button

The list of internal tracking events:

odoo meta facebook pixel tracking service internal logs list
fa address card

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:

meta events manager dataset settings automatic website matching

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:

odoo meta facebook pixel tracking service advanced matching
The module hashes customer information to comply with Meta requirements and sends it along with product tracking data to improve performance efficiency.

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:

odoo tracking service advanced matching sale order partner

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:

odoo tracking service technical identifier field
The specified product field should provide non-empty values and remain unique for each product. Otherwise, the tracking data for this product becomes unusable.

Purchase on Portal

To track portal purchases, enable the Track Purchase on Portal option:

odoo tracking service technical track purchase on portal

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:

odoo tracking service technical exclude delivery

Exclude Rewards

To exclude reward order lines from tracking data, enable the Exclude Reward option:

odoo tracking service technical exclude reward

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:

odoo website enhanced tracking event settings add to cart on click
  • Navigate to Website — Configuration — Websites
  • Open the website on the Enhanced Tracking tab
  • Enable the Add to Cart on Click option
Tracking the actual addition might fail if third-party modules modify the logic. In this case, this option allows for event tracking by binding it to button selectors used in native Odoo website templates.

Purchase

To track purchases only after a successful payment transaction, enable the Track Confirmed Purchases only option:

odoo website enhanced tracking event settings track confirmed pending purchases
This option only affects the event transmission through the tracking service; the internal log records the event regardless.

If business logic considers an order with a Pending payment status as a purchase, enable the Track Pending Purchases too option as well.

fa bug

Testing

For testing, log out of Odoo or use a different browser, as website tracking does not work for internal Odoo users.

Perform the following steps to verify the Meta Pixel integration:

meta events manager dataset test events
  • 01
    Log in to your Meta Ads Manager account
  • 02
    Open your dataset and select the Test Events tab
  • 03
    Select Website from the channel list
  • 04
    Paste your website URL into the field within the Confirm your website's events are set up correctly section
  • 05
    Click the Test Events button

This action opens your Odoo website in a new tab. Perform a few actions on the site, such as viewing a product page or adding an item to the cart. Then, return to Meta Ads Manager; the completed events should appear in the list:

meta events manager dataset test events receiving activity

Changelog

14.0.2.2.0 2024-02-05

  • Add the "eventID" param to tracking data that is sent by JS script.
  • Improve advanced matching - add new params.
  • Improve customer tracking data.

14.0.2.1.0 2023-07-28

  • Improve setting of Privacy URL logic.

14.0.2.0.0 2023-06-17

  • Implement a new generation of website tracking logic.

15.0.2.3.0 2024-04-05

  • Add a compatibility with the cookie consent management.

15.0.2.2.0 2024-02-07

  • Add the "eventID" param to tracking data that is sent by JS script.
  • Improve advanced matching - add new params.
  • Improve customer tracking data.

15.0.2.1.0 2023-07-30

  • Improve the logic to set default "Privacy URL" value.

15.0.2.0.0 2023-07-19

  • Implement a new generation of website tracking logic.

15.0.1.2.1 2023-01-20

  • Prevent firing of the event "ViewContent" on a product webpage for internal users.

15.0.1.2.0 2023-01-17

  • Improve firing logic of Facebook Pixel events: "InitiateCheckout", "AddPaymentInfo", "Purchase".

15.0.1.1.0 2022-08-17

15.0.1.0.1 2022-05-02

  • Implement compability with another modules.

15.0.1.0.0 2022-03-22

  • Improved rebuilded version from 14.0

16.0.2.3.4 2025-01-14

  • Improve user data processing: country, city, state.

16.0.2.3.3 2024-10-23

  • Refactor a user data processing.

16.0.2.3.2 2024-07-20

  • Improve cache invalidation.

16.0.2.3.1 2024-02-09

  • Improve the tracking service form view.

16.0.2.3.0 2023-12-21

  • Add the "eventID" param to tracking data that is sent by JS script.

16.0.2.2.0 2023-11-22

  • Improve advanced matching - add new params.
  • Improve customer tracking data.

16.0.2.1.0 2023-08-01

  • Improve the logic to set default "Privacy URL" value.

16.0.2.0.0 2023-07-24

  • Implement a new generation of website tracking logic.

16.0.1.0.0 2022-11-04

  • Migration from 15.0.

17.0.1.2.5 2026-05-25

  • Refactor methods to process order and product data.

17.0.1.2.4 2025-01-14

  • Refactoring: remove deprecated methods.

17.0.1.2.3 2024-09-23

  • Add hashing for user parameters: "country", "city", "zip", and "state".

17.0.1.2.2 2024-08-30

  • Improve user data fields "country" and "state".

17.0.1.2.1 2024-07-05

  • Add checks for tracking product data.

17.0.1.2.0 2024-02-24

  • Add compability with a cookie consent management.

17.0.1.1.0 2023-12-28

  • Add the "eventID" param to tracking data that is sent by JS script.
  • Improve advanced matching - add new params.
  • Improve customer tracking data.

17.0.1.0.0 2023-11-07

  • Migration from 16.0.

18.0.1.2.2 2026-05-25

  • Refactor methods to process order and product data.

18.0.1.2.1 2026-04-20

  • Add option to skip reward lines when preparing tracking data from sale order.

18.0.1.2.0 2026-02-03

  • Implement the "Exclude Delivery" option for order tracking data.
  • Implement the option to specify different product identifiers instead of the product "id".

18.0.1.1.1 2026-01-27

  • Add a list of allowed settings for user data.

18.0.1.1.0 2025-08-15

  • Add the Lead event tracking on the Contact Us sending.

18.0.1.0.1 2025-01-14

  • Improve the method to get user data.

18.0.1.0.0 2024-10-10

  • Migration from 17.0.

19.0.1.0.3 2026-05-21

  • Refactor methods to process order and product data.

19.0.1.0.2 2026-04-20

  • Add option to skip reward lines when preparing tracking data from sale order.

19.0.1.0.1 2025-12-29

  • Add a list of allowed settings for user data.

19.0.1.0.0 2025-10-12

  • Migration from 18.0.

Resources

Odoo Meta Pixel Integration
Odoo Meta Pixel Integration

How to integrate Facebook (Meta) Pixel to Odoo website

Creating a Facebook Pixel and activating it in Odoo
Creating a Facebook Pixel and activating it in Odoo

How to create a Facebook Pixel and how to activate it in Odoo

Reviews

Our customers have already appreciated the quality, reliability, and performance of the solutions we offer

5.0 / 5
Login to leave a comment

FAQ

Why are some tracking events logged in Odoo but not collected by Meta/Facebook?

It can be when a website visitor has ad-blocking browser extensions on their side. In this case, tracking data is not sent to Meta but logged in Odoo. Another case is if Facebook cookie consent is implemented on your Odoo website, but the visitor does not grant consent for marketing and analytics cookies. In this case, the tracking data is sent to Meta, but Meta does not process it.