Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Website (website)
• Discuss (mail) |
Lines of code | 78 |
Technical Name |
website_google_tag |
License | LGPL-3 |
Website | https://garazd.biz/shop |
Versions | 18.0 14.0 16.0 17.0 15.0 |
- Community
- Enterprise
Integrate Google Tag Manager script to your Odoo website
What is Google Tag Manager
Google Tag Manager, or GTM, is a Google tool for integrating various tags, special scripts - small pieces of code, into your website. With this tool, marketers can connect your website with Google products, such as Google Analytics, Google Ads, Conversion Linker, and other third-party analytical and marketing services.
Google Tag Manager provides management of these kind tags, and allows you to add and configure the tags via web interface, without asking developers to make changes on your website. This is a quick and flexible way if you work with experienced marketers who can set up and maintain tag management. In other cases, if you don't cooperate with marketers or don't have enough experience with Google Tag Manager, consider using off-the-shelf solutions that already provide fully configured integration with services such as Google Analytics 4 or Facebook Pixel.
How to set up Google Tag Manager
After adding the GTM script to your Odoo website and configuring a container identifier in the website settings, you will be able to add tags through the Google Tag Manager UI. Firstly, create a GTM account to add a GTM container and get the container ID. After configuring on the Odoo side, go to your Google Tag Manager account and set up tags according to this Google manual https://support.google.com/tagmanager/answer/6103696.
Props and cons of Google Tag Manager
Props:
- flexible tool for experienced marketers;
- allow connecting several tags to Odoo website;
- does not require developer works.
Cons:
- requires a knowledge and experience of GTM using;
- demands to configure eCommerce events manually;
- does not provide complete information about the products for eCommerce events.
Activates tracking tags without coding
Multi-Website support
Free 30 days support and 180 days bug-fixing
Demo & Test. Click on the "Live Preview" button
As the GTM script does not have to fire for internal users, there are several testing tips:
- You will not see the GTM script if you are logged in to Odoo and you have internal user's access rights.
- Log out from the system or use the incognito mode or other browser to test Google Tag Manager script.
-
17.0.1.1.0 2024-04-09
- Add compatibility with the Google Consent Mode module.
-
17.0.1.0.0 2023-11-09
- Migration from 16.0.
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedVery prompt response from developer.
Appreciate the very prompt response from the developer.
This has broken my odoo.
I've uninstalled the module but I still get this error on most pages:
UncaughtPromiseError > OwlError
Uncaught Promise > An error occured in the owl lifecycle (see this Error's "cause" property)
OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)
at handleError (https://website/web/assets/1/c642ed6/web.assets_web.min.js:916:101)
at App.handleError (https://websiteweb/assets/1/c642ed6/web.assets_web.min.js:1543:29)
at ComponentNode.initiateRender (https://websiteweb/assets/1/c642ed6/web.assets_web.min.js:1006:19)
Caused by: Error: "res.config.settings"."has_google_tag_manager" field is undefined.
at Field.parseFieldNode (https://website/web/assets/1/c642ed6/web.assets_web.min.js:7625:231)
at https://website/web/assets/1/c642ed6/web.assets_web.min.js:8500:865
at visit (https://websiteweb/assets/1/c642ed6/web.assets_web.min.js:4210:51)
at visitChildren
Re:
Hi Tom,
Thank you for your feedback!
We are truly sorry that you have encountered difficulties using our modules. We have just checked one more time our Google Tag Manager solution with the latest Odoo 17.0 updates, but there is no the error that you have mentioned.
This error could be caused by other third-party modules. Anyway, we provide support and assistance for our Odoo solutions, please contact us by email: support@garazd.biz.
We are confident that the error will be fixed.
P.S. Could you specify what is your Odoo hosting? If you use Odoo Online, on this hosting there is impossible to install third-party apps. In the case, if you have installed this app with the Import Module wizard on this hosting, you can get errors like this one.
Best regards, Yurii Razumovskyi.
Company Garazd Creation — Odoo solutions for eCommerce, SEO, Data Feeds, Website Tracking, Marketing and Analytics integrations, Product Label designing and printing.
https://garazd.biz