Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Website (website)
• eCommerce (website_sale) • Discuss (mail) • Invoicing (account) |
Lines of code | 187 |
Technical Name |
google_analytics4_connector |
License | OPL-1 |
Website | https://techfinna.com |
Versions | 16.0 17.0 18.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Website (website)
• eCommerce (website_sale) • Discuss (mail) • Invoicing (account) |
Lines of code | 187 |
Technical Name |
google_analytics4_connector |
License | OPL-1 |
Website | https://techfinna.com |
Versions | 16.0 17.0 18.0 |

Server-Side GA4 Tracker for Odoo Secure GA4 tracking without JavaScript
Capture eCommerce events directly in Google Analytics 4 with server-side reliability.
Odoo GA4 Tracker lets you track shop visits, product views, add-to-cart, checkout and purchases via secure server-side calls to GA4’s Measurement Protocol—no client-side JavaScript needed.


Ad-Blocker Proof
Bypass ad-blockers & browser restrictions so every event reaches GA4.

Enhanced Security
Your GA4 Measurement ID & API secret stay on the server—never in the browser.

Guaranteed Delivery
Server-side calls to GA4’s Measurement Protocol ensure every event is recorded—even on poor connections.
Key Features
Fully Server-Side GA4
No need for custom JavaScript—track events entirely from the server.
E-commerce Event Capture
Product views, add-to-cart, begin-checkout, purchase and more.
Metadata & Context
Includes currency, quantity, product details, country and client_id.
Secure API Calls
Communicate with GA4 Measurement Protocol over HTTPS—secrets never leak.
Auto client_id
Automatically generate and reuse client_id across user sessions.
Extendable Events
Easily add custom events like form submissions, wishlist or coupon usage.
How it Works

1. Go to Odoo Settings > Configurations
Open the configuration page of your Odoo


2. Enter Google Analytics 4 Credentials
After creating a new GA4 property and data stream in Google Analytics, copy your Measurement ID (G-XXXX) and API Secret from the GA4 Admin settings.


3. Open Admin Settings in GA4
Open Admin settings in Google Analytics 4 console


4. Create Data Stream
Go to Admin Settings → Data Streams → Add Stream → Web and enter your website URL. This will generate your Measurement ID (G-XXXX).


5. Create Secret API Key
Copy your Measurement ID and create a new API Secret in GA4 Admin settings. This secret will be used to authenticate server-side calls.


6. Real time updates from Odoo Website
Get real time updates from your Odoo website whenever an event occurs. Down below you can see the examples



Technical Overview
GA4 Measurement Protocol
Server-side API calls to GA4’s Measurement Protocol for all event tracking.
Secure Secret Management
Store your GA4 API secret in Odoo’s encrypted settings—never exposed to clients.
Custom Events API
Extendable design lets you define and send custom events beyond standard e-commerce flows.
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