How to track your website’s traffic in Google Analytics


Google deprecated Universal Analytics which won’t be supported anymore in July 2023. They are replacing it with Analytics 4.

New accounts are already using it, but accounts created before October 2020 are most likely still using Universal Analytics.

Odoo 15.0 is already adapted and ready for Analytics 4. After July 2023, if you want to use Google Analytics tracking in versions before 15.0, you will need to insert the GA tracker code manually, instead of entering your GA key in the Odoo settings.

To follow your website’s traffic with Google Analytics:

  • Create a Google Analytics account if you don’t have any.

  • Go through the creation form and accept the conditions to get the tracking ID.

  • Copy the tracking ID to insert it in Odoo.

  • Go to the Configuration menu of your Odoo’s Website app. In the settings, turn on Google Analytics and paste the tracking ID. Then save the page.


To make your first steps in Google Analytics, refer to Google Documentation.