Google Consent Mode v2, GA4, Meta Pixel & Conversions API Tracking
by DAHMANI LIMITED https://guides.dahmani.me/odoo-google-consent-mode-v2-ga4-meta-capi/FREE & Open Source (LGPL-3) for Odoo 17, 18, 19 & 20 Community & Enterprise
No price, no licence key and no subscription. The full source code is included.
Google Consent Mode v2, GA4, Meta Pixel & CAPI Tracking Suite for Odoo 17–20
Replace 5+ expensive, disconnected tracking modules with one unified, GDPR-ready Odoo website tracking suite. Get full google consent mode v2 (Advanced & Basic modes), a customizable gdpr cookie banner with equal-prominence Reject All, a zero-IP GDPR Art. 7 cookie consent audit proof log, complete google analytics 4 & gtm datalayer eCommerce events, google ads conversion with SHA-256 enhanced conversions, meta pixel plus deduplicated facebook conversions api (meta capi) and GA4 Measurement Protocol server side tracking, a real-time Backend Consent Health Dashboard, and an admin-only storefront live debugger.
Watch 90-Second Live Walkthrough
Watch Consent & Tracking Suite running live on Odoo: synchronous head-top Google Consent Mode v2 across all 7 signals, self-hosted GDPR Cookie Banner with equal-prominence Reject All, multi-website GA4/GTM/Google Ads/Meta/TikTok/LinkedIn configuration, admin-only storefront Live Debugger (?ct_debug=1), deduplicated Server-Side Meta CAPI & GA4 MP queue, and zero-IP GDPR Art. 7 Audit Log.
Watch the 90-second demo on YouTube | Read the Complete Setup & Comparison Guide
Everything You Need for Privacy-Safe Measurement in One Zero-Bloat Module
- True Google Consent Mode v2 (All 7 Signals — Advanced & Basic Modes): Fires
gtag('consent', 'default', ...)synchronously at the very top of<head>before any GTM, GA4, Google Ads, Meta Pixel, or native Odoo script loads. Full support forad_storage,analytics_storage,ad_user_data,ad_personalization,functionality_storage,personalization_storage,security_storage,wait_for_update,url_passthrough, andads_data_redaction. - Region-Aware Defaults & Global Privacy Control (GPC): Pre-configured ordered region rules automatically apply strict EEA / UK / Switzerland denied defaults, US privacy state defaults, and Rest-of-World rules, while automatically honoring
navigator.globalPrivacyControland optional browser Do Not Track. - Customizable Multi-Style GDPR Cookie Consent Banner (Zero External CDN): Choose Bottom Bar, Corner Floating Card, or Centered Modal in Light, Dark, or custom Brand Color themes. Includes equal-prominence Accept All and Reject All buttons (CNIL / GDPR compliant), a granular Preferences drawer showing exact GCMv2 signals, translatable multi-language copy, and a persistent floating Privacy trigger so visitors can modify consent anytime.
- GDPR Art. 7 Consent Proof Audit Log + Automatic Retention Purge: Records every visitor choice with an anonymized Proof ID, timestamp, website, region, policy version, and 7-signal snapshot — storing zero raw IP addresses — plus a 1-click Policy Version Bump button and daily automatic retention purge cron.
- Complete GA4 eCommerce, GTM DataLayer & Lead Funnel Events: Tracks
page_view,view_item,view_item_list,add_to_cart,remove_from_cart,begin_checkout,add_shipping_info,add_payment_info,purchase,generate_lead,search, andsign_upwith strict numeric currency formatting and XSS-safe JSON serialization. Works on both brochure/lead websites and fullwebsite_saleeCommerce stores (depends only onwebsite!). - Meta Pixel + Server-Side Meta Conversions API (CAPI) & GA4 Measurement Protocol: Browser Pixel and server-side CAPI share the exact deterministic
event_idfor 100% deduplication. Includes SHA-256 normalized PII hashing (only whenad_user_datais granted),_fbc/_fbpcookie capture, Meta Test Event Code support, and a non-blocking async queue (ir.cron+ exponential backoff + 1-click Retry Failed + 1-click Test Event buttons) so checkout never slows down. - Google Ads Conversions, Enhanced Conversions & Bonus Pixels: Supports Purchase and Lead conversion labels, consent-gated SHA-256 Enhanced Conversions, plus built-in consent-gated TikTok Pixel and LinkedIn Insight Tag support — with optional internal staff exclusion so admins never pollute analytics.
- Backend Consent Health Dashboard & Storefront Live Debugger (
?ct_debug=1): Monitor Compliance Health Score, Acceptance Rate KPIs, Active Tag Badges, and Server Delivery Rates in one native OWL screen (OWL 2 on 17–19, native OWL 3 on 20.0), and inspect live Consent Mode v2 signals & fired events directly on your storefront with the admin-only debugger drawer. - Hardened Security Built In: Hardcoded SSRF guard permitting server-side outbound HTTPS solely to official
graph.facebook.comandwww.google-analytics.comhosts, password-masked tokens locked to Website Designers / System Admins, strict ACLs (ir.model.access.csvon 17–19 and nativeir.access.csvon 20.0), and cleanuninstall_hook.
Live Screenshots (Captured on Live Odoo Community)
Every screenshot below is an unedited live capture from Odoo running website_consent_tracking_pro. The exact same feature set ships for Odoo 17.0, 18.0, 19.0, and 20.0.
GDPR Cookie Banner & Preferences Drawer: Equal-prominence Accept All / Reject All plus per-category toggles mapped transparently to Google Consent Mode v2 signals.
Storefront Live Debugger Overlay (?ct_debug=1): Verify all 7 Consent Mode v2 signals, tag gating, and deduplicated event_id streams right on your storefront.
Multi-Website Tag & Consent Configuration: Configure GTM, GA4, Google Ads, Meta Pixel, Meta CAPI, GA4 MP, banner themes, and region defaults per website.
Async Server-Side Queue (Meta CAPI & GA4 MP): Non-blocking delivery queue with shared event_id deduplication, exponential backoff retry, and 1-click Test Events.
GDPR Art. 7 Consent Proof Audit Log: Zero-IP anonymized consent records with region, policy version, GPC status, and automated retention purge.
Responsive Mobile UX (375×812): Clean touch-friendly full-width buttons and readable toggles on mobile devices with zero layout overflow.
How This All-in-One Suite Compares
| Capability | Split Paid Modules Stack | Basic Consent Apps | Consent & Tracking Suite (FREE) |
|---|---|---|---|
| Total Cost (All Platforms + CAPI + Banner) | €690+ EUR (~$750+ USD across 5–6 separate modules) | $17–$54 (missing CAPI, custom banner, or audit log) | FREE (LGPL-3), all features in one app |
| Google Consent Mode v2 + Custom GDPR Banner | 2 separate paid add-ons (€35 + €95) | Native Odoo bar only or banner-only | All 7 signals (Advanced & Basic), 3 layouts × 3 themes, equal-prominence Reject All, GPC |
| GA4 + GTM + Google Ads Enhanced Conversions | 2 separate paid add-ons (€95 + €145) | Partial or missing | All 12 standard GA4/Meta events + consent-gated SHA-256 Enhanced Conversions |
| Meta Pixel + Deduplicated Server CAPI + GA4 MP | 2 separate paid add-ons (€75 + €245) | Missing GA4 MP or missing CAPI | Meta Pixel + CAPI + GA4 Measurement Protocol with shared event_id & async retry queue |
| GDPR Proof Audit Log + Auto Retention Purge | Not included | Often omitted | Built-in zero-IP GDPR Art. 7 proof log + policy version bump + retention cron |
| Consent Health Dashboard & Live Storefront Debugger | Not included | Not included | Native OWL Health Dashboard + admin-only ?ct_debug=1 live overlay |
| Brochure Websites & Full eCommerce Support | Requires website_sale for GA4/Meta/CAPI |
Varies | Depends only on website with automatic runtime website_sale detection |
Support: support@dahmani.me | Published by DAHMANI LIMITED (LGPL-3, free & open source). Compatible with Odoo 17.0, 18.0, 19.0 & 20.0 Community and Enterprise.
More Free Community & Enterprise Apps by DAHMANI LIMITED
Free Community & Enterprise Apps (LGPL-3)
- All in One Backdate ControlFREE
stock, sales, purchase, MRP & accounting backdate with an append-only audit log - Website Form BuilderFREE
multi step forms, file upload & conditional logic - Gantt View Pro for Odoo CommunityFREE
project, MRP & task gantt chart - Lost Messages & Email Routing HubFREE
catchall triage for unmatched email - Visual Label DesignerFREE
ZPL & PDF barcode, product & shipping labels - Activities Management & Activity DashboardFREE
SLA, history & recurring activities
Enterprise-Grade Pro Apps
- GoBD DATEV Export ProPRO
GDPdU Z3 audit, EXTF Buchungsstapel & Belegbilder - KPI Dashboard Builder ProPRO
executive BI dashboards, SQL, PDF & AI - Direct Print UniversalPRO
USB, Bluetooth & network printers, ZPL & silent PDF - Audit Log & Audit Trail GDPR StudioPRO
login history, record restore & anonymizer - eLearning SCORM 1.2 & 2004 PlayerPRO
LMS gradebook, tracking & certificates - Access Rights & Access Management StudioPRO
hide menus, fields, tabs & read-only - Dynamic Approval WorkflowPRO
multi level approval rules for sales, purchase & invoices
Every app supports Odoo 17.0, 18.0, 19.0 & 20.0 (Community & Enterprise). Questions: support@dahmani.me
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Website (website)
• Discuss (mail) |
| Lines of code | 5691 |
| Technical Name |
website_consent_tracking_pro |
| License | LGPL-3 |
| Website | https://guides.dahmani.me/odoo-google-consent-mode-v2-ga4-meta-capi/ |
Please log in to comment on this module