Terrabit Website Sale Tracking Base
Base module for website sale tracking events (Facebook, TikTok, etc.)
Website Sale Tracking Base for Odoo 19
A core foundation module that centralizes and optimizes event tracking for multiple platforms (Meta/Facebook, TikTok, etc.) in Odoo 19.
Key Features:
- Centralized ConfigurationManaged global settings like Item ID Type (Product, Template, or SKU) and Exclude Delivery in a single location under the Website settings.
- Normalized Tracking EventsCaptures high-impact interactions (“Add to Cart”, “Begin Checkout”, “Add Payment Info”, “Search”, “Contact”, “Form Submit”) and re-broadcasts them as stable, namespaced DOM
CustomEvents (terrabit_tracking:*) consumed by downstream tracking pixels. - Enriched Tracking PayloadExtends the core tracking data (view item, add to cart, purchase) with
item_tmpl_idanditem_skuso the configured Item ID Type can be honored client-side. - Single Source of TruthImplements Python helper methods (
_get_tracking_data) to ensure consistency between CAPI and Pixel values.
Configuration:
- Go to Website > Configuration > Settings.
- Use the Tracking Item ID Type to select how products are identified globally.
- Enable Tracking Exclude Delivery if you want to exclude shipping costs from all conversion values.
Technical Implementation:
- Built on the Odoo 19 Interactions framework
(
@web/public/interaction), registered in thepublic.interactionsregistry. (The legacypublicWidget-basedwebsiteSaleTrackingevent bus was removed in Odoo 19.) - Emits namespaced
CustomEvents on the.oe_website_saleroot; tracking implementations listen to these plus the coreview_item_event/add_to_cart_eventevents.
Support:
For support and customizations, please contact Terrabit at https://www.terrabit.ro.
Bug Tracker
Bugs are tracked on Terrabit Issues. In case of trouble, please check there if your issue has already been reported.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- Terrabit
Maintainers
This module is part of the terrabit-solutions/bitshop project on GitHub.
You are welcome to contribute.
Need help getting started?
We are an Odoo partner building apps for the Romanian market (SAGA & WinMentor export; Romanian accounting localization in progress). Direct support from the team that built the module.
Contact Terrabit →| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Website (website) • Discuss (mail) • Invoicing (account) |
| Lines of code | 170 |
| Technical Name |
terrabit_website_sale_tracking_base |
| License | LGPL-3 |
| Website | https://www.terrabit.ro |
Please log in to comment on this module