OdooWiki OCA HUB

Google Tag Manager

website_google_tag_manager folder_open OCA/website open_in_new
Website License: AGPL-3

This module allows to configure your Odoo website to support the GTM tool.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you connect your Odoo website to Google Tag Manager by entering your container ID, so Google tags load automatically on every page without editing code.

This module adds a Google Tag Manager section to the website settings. There you can type your GTM container ID (the code that looks like GTM-XXXXX) and save it. A link in the settings points to Google's help page explaining where to find that ID.

The container ID is stored per website, so each website in Odoo can have its own Google Tag Manager container. The setting is available on the website configuration screen and is linked to the website record.

Once an ID is filled in, the module automatically inserts the standard Google Tag Manager code into the pages of that website: the script in the page head and the noscript iframe right after the opening body tag. If no container ID is set, nothing is added, so the website behaves as before.

This means you can manage all your tracking and marketing tags from the Google Tag Manager interface instead of changing Odoo templates. It touches the website settings screen and the website layout used by all website pages.

Depends on

website

Required by other modules

Models and fields (2)
  • website · extends an existing modelgoogle_tag_manager_key (Container ID)
  • res.config.settings · extends an existing modelgoogle_tag_manager_key (Container ID)

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 8 confirmed, 1 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 19.0

To configure this module, you need to:

  • Go to Website \> Configuration \> Settings
  • Search 'Google Tag Manager' option.
  • Fill in your 'Google Tag Manager Key' (e.g. 'GTM-ABCDEF').

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.