Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Website
  3. Odoo Google Analytics 4 Tag with gtag.js v 17.0
  4. Sales Conditions FAQ

Odoo Google Analytics 4 Tag with gtag.js

by Garazd Creation https://garazd.biz/shop/google-analytics-4-global-site-tag-gtag-js-8
Odoo
v 17.0 Third Party 1435
Download for v 17.0 Deploy on Odoo.sh Live Preview
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0
You bought this module and need support? Click here!
Versions 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0
  • Description
  • Manifest
  • License
Enterprise
Community

Activate the Google Tag on your Odoo website to integrate with Google Analytics 4 (GA4) and Google Ads

The Google tag (formerly the global site tag or gtag.js) is a single script that connects your website to various Google services, such as Google Analytics 4 and Google Ads. The Odoo Google Tag module automatically adds this script to every page of your Odoo website to record basic interactions like page views.

This module serves as an extensible foundation for your Odoo tracking setup. It provides the core logic for sending data to Google, which you can expand with other modules to track specific e-commerce events or collect rich product and visitor insights.

Product Team

Developed and maintained by a product company with a specialized focus

No Code

Activates tracking tags without coding

Multi-Tags

Support multiple tags on one website

Support

Free 1-year support, assistance, and bug-fixing

GA4 IN ODOO TAG ID ACTIVATION TESTING RELATED APPS CONTACT US CHANGELOG
fa tag

Google Tag in Odoo

The Google Tag JS script can send core tracking data to two Google services: Google Analytics 4 and Google Ads.

For detailed information about the Google tag (formerly the global site tag or gtag.js), see the official Google documentation: https://support.google.com/tagmanager/answer/11994839.

You can add the Google tag to an Odoo website in two ways:

  • Using Odoo's built-in Google Analytics feature
  • Using the Odoo Google Tag module by Garazd Creation

If Odoo's built-in tracking logic is sufficient for your needs, choose the first way. If you require features beyond basic tracking, the second way provides a convenient and extensible foundation for integrating with Google services.

Additional modules related to this feature allow you to implement Google Consent Mode, as well as collect and send rich product and visitor data from your website to Google Analytics, Google Ads, and Google Tag Manager.

fa code

Getting the Tag ID

Before using the module, obtain a tracking ID from your chosen service — Google Analytics or Google Ads.

Getting the Measurement ID in Google Analytics

To obtain a tag ID in Google Analytics, log in to your account and navigate to Admin — Data Collection and Modification — Data Streams. If you do not have a data stream yet, create one by clicking Add Stream.

google analytics 4 admin add data stream

Open the data stream and copy the Measurement ID.

google analytics 4 web stream details measurement id

Getting the Tag ID in Google Ads

To obtain a tag ID in Google Ads, log in to your account and navigate to Tools — Data Manager. Open your Google tag and copy the ID.

google ads tools data manager tag id
check circle fill

Tracking Activation

After installing the module, activate tracking by completing the following steps:

odoo website settings tracking seo google tag gtag js id
  • 01
    Open the website settings
  • 02
    Enable the Google Tag (gtag.js) option in the Tracking and SEO section
  • 03
    Paste the copied identifier into the Tag ID field
  • 04
    Save the settings

After that, the module automatically adds the Google tag script to all pages of the Odoo website.

fa cookie

Cookie Consent

The module is compatible with the Odoo Google Consent Mode solution, which allows managing cookie consent and updating consent states by sending them to Google.

odoo website google consent settings list
fa bug

Testing

You have a few ways to verify your Google tag integration:

  • Debug View in Google Analytics 4
  • Browser Extensions

Testing with Debug View

To test the tag integration with Google Analytics 4, enable the GA4 Debug Mode option in your Odoo website settings and save the changes.

odoo website settings tracking seo google tag gtag js ga4 debug mode
For testing, log out of Odoo or use a different browser, as website tracking does not run for logged-in internal Odoo users.

Next, open several pages on your website to send test events to Google.

After that, review the tracked events in the Debug View menu of your Google Analytics 4 account.

google analytics 4 admin debug view

Testing via Browser Extension

An alternative way to test the Google tag integration on your Odoo website is to use the Tag Assistant browser extension: https://chromewebstore.google.com/detail/tag-assistant/kejbdjndbnbjgmefkgdddjlbokphdefk.

odoo google tag assistant browser extension

Related Modules

Google Tag Manager

Integrate Google Tag Manager script to your Odoo website

0.0 €
Google Analytics 4 eCommerce

Optimize your online store's performance with Odoo Google Analytics 4 eCommerce Tracking

130.0 €
Google Tag Manager Conversion Tracking

Advanced conversion tracking for Odoo websites via Google Tag Manager

180.0 €
Google Ads Conversion Tracking

Increase sales, generate new leads, driving traffic to your Odoo website with Google Ads

180.0 €
Google Consent Mode

Odoo Google Consent Mode on your website

35.0 €
Odoo Cookie Consent Banner

Configurable cookie banner to manage consent types on Odoo websites

95.0 €
Previous
Next
Explore all modules

Garazd Creation

Team from Ukraine

Our Odoo Apps are solutions to promote products and enhance sales

Expands the capabilities of Odoo and provides the required functionality

Developed by experienced Odoo specialists in collaboration with marketing and SEO experts

12
years on the market

specialize in customized solutions for Odoo, where we are experts

30068
sales and downloads

made in the Odoo Apps Store

10
ranks in the TOP-10

popular solutions on Odoo Apps among 79,000 modules

Our Expertise

Official Odoo Partner

Active OCA Member

With Odoo since 2014

Company Cares Section Icon

Effective solutions for the global market

Creating high-quality, flexible and reliable business solutions
Creating

high-quality, flexible and reliable business solutions

Taking care of timely support for users of our modules
Taking care of

timely support for users of our modules

Having an entrepreneurial background, we understand exactly what we are doing
Having

an entrepreneurial background, we understand exactly what we are doing

Paying attention to user-friendliness and understandable UI/UX design
Paying attention

to user-friendliness and understandable UI/UX design

Providing additional materials for easy use of the product
Providing

additional materials for easy use of the product

Conducting marketing activities and providing high-quality information support
Conducting

marketing activities and providing high-quality information support

Contact Us

Website
garazd.biz/contactus
Copy Link
Get Support
garazd.biz/support
Copy Link
Email
support@garazd.biz
Mail To

Watch on YouTube

Odoo Product Label Apps

Odoo Website Tracking Apps

Odoo Product Catalog Feeds

Explore our YouTube
  • Module version: 17.0.2.1.0
  • Copyrights: Module design is reserved. Unauthorized copying or redistribution of the design is prohibited. Copyright © Garazd Creation
Changelog Section Icon

Changelog

17.0.2.1.0 2024-06-20

  • Improve the script insertion with the post gtag call section.

17.0.2.0.0 2024-04-09

  • Refactor from GA4 to the Google Tag.

17.0.1.1.0 2024-02-17

  • Implement compability with Google Consent Mode extension.

17.0.1.0.0 2023-11-02

  • Migration from 16.0.
  • Implement compability with Google Consent Mode extension.
FAQ Section Background
FAQ Section Icon

FAQ

Why are some tracking events logged in Odoo but not collected by Google?

It can be when a website visitor has ad-blocking browser extensions on their side. In this case, tracking data is not sent to Google but logged in Odoo. Another case is if Google Consent Mode is implemented on your Odoo website, but the visitor does not grant consent for marketing and analytics cookies. In this case, the tracking data is sent to Google, but Google does not process it due to the Google cookie consents.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Website (website)
• Discuss (mail)
Lines of code 91
Technical Name website_google_analytics_4
LicenseOPL-1
Websitehttps://garazd.biz/shop/google-analytics-4-global-site-tag-gtag-js-8
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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with