Menu Close
    Start a Project Request quote Reading list Switch to dark mode

    Odoo Google Tag Manager


    Tags appear as an essential tool to analyze and monitor the behavior pattern of the visitors on your website. They can help the marketing team to draw useful conclusions regarding products, website visitors, cart abandonment.

    But manually assigning tags to the web pages can be tricky and laborious. Any mistyped code snippet can lead to problems. Managing numerous tags also requires time-consuming scrutinization. Google Tag Manager helps you by putting all the tags in one place.

    Odoo Google Tag Manager allows you to use the Google Tag Manager for your Odoo website for running data on Google’s Marketing Tools. It integrates Odoo with Google Tag Manager. Once configured, you can create tags and deliver the required data to Google Analytics, Google Adwords, etc. The data can for marketing analysis and study.


    • It integrates Odoo with Google Tag Manager and allows you to configure Google Tag Manager for your Odoo Website.
    • The admin can add website tags to the Odoo Website for data gathering and analysis without any complex coding.
    • Third party Tags can also be integrated into the Odoo website to use with Google Analytics and Google Adwords.
    • Various tags can be added for Measuring Product Impressions, Product Clicks, Views of Product details, Additions to a Shopping Cart, Checkout & Purchases. (If you need the integrate any additional tag within the module please contact our Support Team)
    • Implemented Universal Analytics Enhanced Ecommerce features.
    • Once module installed you can create & configure tags in Google Tag Manager panel for tracking website data.


    1. Once you purchase the App from Webkul store, you will receive the link to download the zip file of the module.

    2. Extract the file on your system after the download finishes. You will be able to see a folder named- ‘odoo_google_tag_manager’.

    3. Copy and paste this folder inside your Odoo Add-Ons path.

    4. Now, open the Odoo App and click on the Settings menu. Here, click on Activate the Developer Mode.

    5. Then, open on Apps menu and click on ‘Update Modules List’.

    6. In the search bar, remove all the filters and search ‘odoo_google_tag_manager’.

    7. You will be able to see the module in the search result. Click on ‘Install’ to install it.


    The module inherently integrates the Google Tag manager javascript code with your Odoo website eliminating the need to code and paste it in the every source code of your website page.

    Configuring Odoo with Google Tag Manager

    1. The first step to do is to register your website with Google Tag Manager. Visit to create an account on the website. Then create a container for your website to obtain a container ID. The container holds your created tags. To follow the Steps for setting up the account, Click Here

    2. Once you have the container ID, go to the ‘Website’ menu in the Odoo. Then, click on settings ( Website >>> Settings)

    3. Here, tick on the checkbox next to ‘Google Tag manager Field’ and enter the container Key i.e. GMT-XXXX.

    4. Once done, your Odoo website is integrated with Google Marketing tools.

    Creating Tags for the Google analytics

    1. Now, you need to configure Tags and triggers in the Google Tag Manager so the tags can fetch the data.

    2. Login to your Google Tag Manager account. Here, click on the website account name at the top.

    3. Click on the google tag manager icon and then select the container of the website for which you wish to create the tag.


    4. Click on Tags on the left side and click on ‘new’.

    5. The configuration to trigger any tag is given on the following google webpage: The Odoo Google Tag manager Module currently configure following tags- Product Impressions, Product Clicks, Views of Product Details, Additions to a Shopping Cart, Checkout & Purchases.

    6. On the page that opens after clicking new, two layouts are visible- ‘Tag Configuration and Triggering’ template. First click on ‘Tag Configuration’.

    7. Now, select the tag type. Then, select the Google platform you wish the integrate the tag with. In this case Google Analytics- universal analytics since we are integrating the Google Analytics with Odoo.

    8. To configure the tag, refer to the enhanced e-commerce guide of the Google >>

    9. For example- to fetch data for the ‘Product Impression’ tag- the following configuration needs to put while creating the tag:

    Tag type: Universal Analytics
    Track type: Pageview
    Enable Enhanced E-commerce Features: true
    Use Data Layer: true
    Trigger: event equals gtm.dom

    10. Using the above settings, you need to make sure all the aforementioned fields have the displayed values to properly configure the tag.

    11. Tick on the field- ‘Enable overriding settings in this tag’ to open advanced settings.

    12. Expand the tab ‘More settings’, look for ‘Ecommerce’, click on it and set the field- ‘ Enable overriding settings in this tag’ to TRUE. Similarly, set Use Data Layer’ field to TRUE.

    Setting the Trigger Event

    1. Now to set trigger event, click on the ‘Triggering Template’. The trigger event tells the tag to start sending information when a certain condition is met.

    2. Click on new >> trigger configuration >> Custom Trigger

    3. Copy Paste the trigger event from the configuration settings- (In this case: gtm.dom) for the field Event Name and hit Save. and Done.

    4. You can create various tags as per the need such as Product impression.

    Integrating Google Analytics with Google Tag Manager

    1. Once all the Tags are configured, you need to integrate the Google Analytics with the Google Tag Manager. Click on Variables Tab.

    2. Here click on ‘New’ under user-defined variables. Then click on the ‘Variable Configuration’  template.

    3. Here look for ‘Google Analytics Settings’ and click on it.

    4. Here, copy paste the Tracking Id of your Google Analytics account. (Tracking ID is the generated when you make an account in the Google Analytics, just like the Google Tag Manager Container ID)

    5. Now, look for E-commerce in more settings and tick on ‘Enhanced E-commerce Features’ and ‘Use Data Layer’. Done.

    Fetching the Data

    1. Open Google analytics and the data would start reaching the analytics.

    2. The data can be used to study the behavior pattern of your shoppers, navigation trend, track clicks on a particular product etc.

    3. Similar tags can be made for other marketing platforms of Google such as Goog Adwords using their Tag configuration guide. All you need to do is create the tags and trigger event for the particular tag.


    Was this article helpful? Please share your feedback in the comments below.

    If you have any issues/queries regarding the module please raise a ticket at

    For any doubt contact us at

    Thanks for reading!!

    Current Product Version - 1.0.0

    Supported Framework Version - Odoo V10, V11

    . . .


    Add Your Comment

    Be the first to comment.

    Back to Top
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again

    Table of Content

    Hide Index