Built and supported by Modvanta - modvantaapps@gmail.com
What it does
Add your Meta (Facebook) Pixel to every page of your Odoo website
Paste your Pixel ID in Website Settings and the Meta Pixel base code is added to every public page of the website, with a PageView event on each page load and the noscript fallback image.
Visits from your own signed-in staff are not tracked, so your audiences and ad statistics only contain real visitors and customers.
Who it is for
For shops advertising on Facebook and Instagram
Meta Ads advertisers Build retargeting audiences from your website visitors. |
Marketing teams Measure traffic from campaigns in Meta Events Manager. |
Store owners One field in Settings instead of editing theme code. |
Key features
What you get
1One setting
Website -> Configuration -> Settings -> Facebook Pixel ID.
2Pixel code on every page
These are the lines of the real page source of /shop on our bench: the fbevents loader, fbq init with the Pixel ID, fbq track PageView, and the noscript image.
3PageView reaches Meta
The visitor's browser loaded fbevents.js and sent the PageView hit to facebook.com/tr with the Pixel ID.
4Staff are not tracked
Signed in as an internal user, the page has no Pixel code and sends nothing to Meta.
How it works
Step by step
| 1 | Find your Pixel ID In Meta Events Manager -> Data sources. |
| 2 | Paste it in Odoo Website Settings -> Facebook Pixel ID, then save. |
| 3 | Check it Open your shop in a private window: the page source now contains fbq init with your ID. |
Settings
What you can configure
| Setting | Where | What it does |
| Facebook Pixel ID | Website -> Configuration -> Settings | Your Meta Pixel ID. Empty = no tracking code. |
FAQ
Questions buyers ask
Which events are sent?
PageView on every page load.
Are my employees tracked?
No, the code is only added for visitors and portal customers, not internal users.
Does it work with several websites?
Yes, the Pixel ID is stored per website.
Compatibility
Works with
Odoo 19 Community Odoo 19 Enterprise Depends on: websiteBuilt and tested on Odoo 19 with the default website theme.
Connect your website to Meta Ads
Questions before buying, help with setup, or a change you need: write to us and a developer answers.
SUPPORT |
AUTHOR Modvanta |
INCLUDED Source code, free bug fixes for Odoo 19 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Website (website)
• Discuss (mail) |
| Lines of code | 93 |
| Technical Name |
mdv_facebook_pixel |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/facebook-pixel/ |
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