Toggle navigation

How to track your website traffic from your Odoo Dashboard

You can follow your traffic statistics straight from your Odoo Website Dashboard thanks to Google Analytics.

  • Crea un nuevo proyecto y asígnale un nombre (p.e. Odoo). Este proyecto se necesita para almacenar las credenciales de tu API.

  • Enable the API.
  • Crear credenciales para usar en Odoo

  • Select Web browser (Javascript) as calling source and User data as kind of data.
  • A continuación puedes crear una ID de cliente. Introduce el nombre de la aplicación (p.e. Odoo) y las páginas permitidas a las que te redirigirá. El origen autorizado de JavaScript es la URL de tu instancia de Odoo. La URI de redirección autorizada es la URL de tu instancia de Odoo seguida de '/google_account/authentication'.

  • Go through the Consent Screen step by entering a product name (e.g. Google Analytics in Odoo). Feel free to check the customizations options but this is not mandatory. The Consent Screen will only show up when you enter the Client ID in Odoo for the first time.
  • Finally you are provided with your Client ID. Copy and paste it in Odoo.
  • Open your Website Dashboard in Odoo and link your Analytics account. to past your Client ID.
  • As a last step, authorize Odoo to access Google API.