Meta Pixel & GA4 Ecommerce Tracking Lite: Free Facebook Pixel, Purchase & Lead Events
by Viyug Infotech https://viyuginfotech.comMeta Pixel and GA4 events for your Odoo shop, free
Add your Meta Pixel ID once: page views, product views, add to cart, checkout, purchases and leads reach Meta with value and currency, next to Odoo's own Google Analytics 4.
FreeMeta PixelGA4 eventsPurchase trackingCommunity
Conversion tracking without a tag manager
Ads platforms need to know what visitors do on your shop. This app sends the standard events from Odoo itself.
Meta Pixel events
PageView on every page, ViewContent on product pages, AddToCart, InitiateCheckout, Purchase on the order confirmation and Lead on website forms.
Value and products
Purchase, checkout and product events carry value, currency and product ids, so Meta can measure return on ad spend.
GA4 next to Odoo
Google Analytics 4 keeps using Odoo's own Measurement ID. This app adds generate_lead on website forms; Odoo sends the other GA4 shop events itself.
Follows the cookie bar
With the Odoo cookie bar on, the pixel waits until the visitor accepts optional cookies.
Employees ignored
Logged-in internal users are not tracked, unless you switch it on.
Per website
Each website has its own Pixel ID, in one settings block.
See it working
One settings block, then the events flow. The dark box on the shop pages lists what the page really sent.
Website settings: paste the Meta Pixel ID. Google Analytics keeps its own Measurement ID just above.
Product pages send PageView and ViewContent with product id, value and currency.
Adding a product sends AddToCart. Odoo sends the GA4 shop events itself.
Starting the checkout sends InitiateCheckout once per cart, with its value. The order confirmation then sends Purchase.
Website forms send Lead to Meta and generate_lead to GA4, which Odoo does not send itself.
Free Lite or the full app?
This app is free and stays free. Website Tracking Suite is the paid app by the same team for when you need more. Installing it later copies your Pixel ID and the employee setting into its own configuration, so tracking goes on without a gap.
| Feature | Lite (this app) | Website Tracking Suite |
|---|---|---|
| Meta Pixel with shop events and value | Yes | Yes |
| GA4 next to Odoo's own tag, extra GA4 events | Yes | Yes |
| Cookie bar and employee exclusion | Yes | Yes |
| Meta Conversions API (server side) with deduplication | No | Yes |
| TikTok Pixel and Events API, ChatGPT Ads, Google Ads conversions | No | Yes |
| Google Consent Mode v2, Global Privacy Control, consent log | No | Yes |
| Event log with retry, test events, debug mode | No | Yes |
How it compares
| Feature | This app | Typical alternatives |
|---|---|---|
| Meta Pixel without a tag manager | Yes | Sometimes |
| Purchase with value, currency and product ids | Yes | Sometimes |
| Lead event on website forms | Yes | Rarely |
| Works next to Odoo's Google Analytics without double counting | Yes | Rarely |
| Waits for the cookie bar consent | Yes | Rarely |
| Employees not tracked | Yes | Rarely |
| Per website settings | Yes | Sometimes |
Questions
Does it work on Community?
Yes. It needs eCommerce.
Where do I find my Pixel ID?
In Meta Events Manager, under Data sources: the number of your pixel (dataset).
Does it replace Odoo's Google Analytics setting?
No. Keep your GA4 Measurement ID in the Google Analytics setting. This app only adds the GA4 events Odoo does not send, so nothing is counted twice.
Is the purchase sent twice if the customer reloads the page?
No. Each order is sent once per browser session.
What happens if I install Website Tracking Suite later?
Your Pixel ID and the employee setting are copied into its configuration, and this app stops sending its own events, so nothing is counted twice.
Go further with paid Viyug apps
This app stays free. These paid apps from the same team work next to it:
Need help or a change?
Questions, or a process that works differently in your company? Use the Contact Vendor button on this page. Viyug Infotech will get back to you.
Email support: support@viyuginfotech.com
Website: viyuginfotech.com
Scan with your phone to chat on WhatsApp or write us an email:
+91 83207 42187
Send us an email
Release notes
Initial release
- Meta Pixel: PageView, ViewContent, AddToCart, InitiateCheckout, Purchase and Lead with value, currency and products
- GA4 events Odoo does not send, next to Odoo's own Measurement ID
- Cookie bar consent, employees not tracked, per website settings
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Website (website) • Discuss (mail) • Invoicing (account) |
| Lines of code | 190 |
| Technical Name |
website_tracking_lite |
| License | LGPL-3 |
| Website | https://viyuginfotech.com |
Please log in to comment on this module