Analítica

La analítica del sitio web le ayuda a los propietarios a monitorear de qué forma los visitantes usan su sitio. También proporciona datos acerca del sector demográfico, comportamiento e interacciones de los visitantes, lo que ayuda a mejorar los sitios web y las estrategias de marketing.

Puede monitorear el tráfico de su sitio web de Odoo con Plausible.io o analytics/GA. Le recomendamos que use Plausible.io, pues es fácil de usar, protege su privacidad y es ligero.

Plausible.io

Odoo hosts its own Plausible.io server. The Plausible Analytics dashboard is integrated into Odoo and can be accessed via Website ‣ Reporting ‣ Analytics.

Databases hosted on Odoo Online and using an odoo.com domain name benefit from a free, ready-to-use Plausible.io solution with automatically generated credentials and a preconfigured Plausible account. To enable it, go to Website ‣ Configuration ‣ Settings, then, in the Tracking & SEO section, enable Plausible Analytics. The credentials are automatically filled in the Shared Link Auth and the Site fields.

Nota

Si ya tiene una cuenta de Plausible.io y desea conectarla a su base de datos de Odoo en línea, debe crear dos ir.config.parameters para usar los servidores de Plausible.io. Para hacerlo, active el modo de desarrollador y vaya a Ajustes generales ‣ Ajustes técnicos ‣ Parámetros del sistema. Haga clic en Nuevo y complete los campos Clave y Valor:

Clave

Valor

website.plausible_script

https://plausible.io/js/plausible.js

website.plausible_server

https://plausible.io

Then, go to the Plausible website and follow the steps to set up your account and link it to your Odoo database.

Advertencia

Desactivar la cuenta gratuita de Plausible.io vinculada a tu base de datos de Odoo en línea también eliminará las claves existentes. Esta acción generará nuevas claves, mientras que todos los datos históricos seguirán asociados a las claves antiguas. Te recomendamos guardar las claves existentes para conservar el acceso a esos datos en caso de que planees desactivar la cuenta.

If you use a custom domain name (e.g., example.com), or if your database is hosted on Odoo.sh or On-premise, you need to create your own Plausible.io account or use an existing one and link it to your database. To do so, follow these steps:

  1. Create or sign in to a

    Plausible.io account.

  2. If you are creating a new account, go through the registration and activation steps. On the Add site info page, enter your website Domain name without including www or http (e.g., example.odoo.com) and, if necessary, change the Reporting Timezone. Click Install Plausible to proceed to the next step.

  3. Once done, click the Plausible.io logo in the upper-left part of the page to access the list of websites, then click the (ellipsis) icon next to the website and select Settings.

    Haga clic en el icono de engranaje en la lista de sitios web.
  4. Seleccione Visibilidad en la barra lateral y luego haga clic en Agregar enlace compartido.

  5. Enter a Name, keep the Password protect option disabled, as the Plausible analytics dashboard integration in Odoo does not support it, then click Create shared link.

  6. Copie el enlace compartido.

    Copiar la URL del enlace compartido de Plausible.io
  7. En Odoo, vaya a Sitio web ‣ Configuración ‣ Ajustes.

  8. In the Tracking & SEO section, enable Plausible Analytics, then paste the Shared Link Auth and click Save.

Truco

  • If you have multiple websites, add them to your Plausible.io account by going to https://plausible.io/sites and clicking + Add Website. In the Odoo Website settings, ensure that the correct website is selected from the dropdown menu at the top of the page before pasting the Shared link.

  • Odoo automatically pushes two custom goals: Lead Generation and Shop. Custom goals can be added via Plausible.io. To do so, click the (ellipsis) button on the relevant website card, then navigate to Goals in the sidebar menu, and click Add goal.

Google Analytics

Para llevar el seguimiento del tráfico del sitio web de Odoo con Google Analytics:

  1. Crea o inicia sesión en tu cuenta de Google con el siguiente enlace: https://analytics.google.com.

    • Si está configurando Google Analytics por primera vez, haga clic en Empezar a medir y siga los pasos para crear la cuenta.

    • If you already have a Google Analytics account, sign in and click the icon in the bottom-left corner of the page to access the Admin page. Then, click + Create and select Property from the drop-down menu.

  2. Complete los siguientes pasos: Crear una propiedad, detalles del negocio y objetivos.

  3. When you reach the Data collection step, choose the Web platform.

    Elija una plataforma para la propiedad de su Google Analytics.
  4. Configure el flujo de sus datos. Especifique la URL del sitio web, escriba el nombre del flujo y luego haga clic en Crear y continuar.

  5. Copie el ID de medición.

    ID de medición en Google Analytics.
  6. En Odoo, vaya a Sitio web ‣ Configuración ‣ Ajustes.

  7. In the Tracking & SEO section, enable Google Analytics, then paste the Measurement ID and click Save.

Truco

If you have multiple websites with separate domains, it is recommended to create one property per domain. In Odoo, in the Website settings, make sure to select the website in the field next to +New website at the top left of the page before pasting the Measurement ID.

Google Tag Manager

Google Tag Manager es un sistema de gestión de etiquetas que le permite actualizar con facilidad los códigos de medición y los fragmentos de código relacionados (a los que se les conoce de forma colectiva como etiquetas) en su sitio web o aplicación móvil mediante el inyector de código.

Nota

GTM is not an analytics tool and does not offer reporting features. It is used to collect data and works alongside Google Analytics to provide more detailed insights. In order to use GTM properly, it is recommended to configure Google Analytics as well.

Consulte la documentación sobre cómo configurar Google Analytics y Google Tag Manager para obtener más información.

Advertencia

  • Algunas etiquetas GTM utilizan capas de datos (por ejemplo, capas de datos de seguimiento avanzado de comercio electrónico) para recuperar variables y enviarlas a Google Analytics. Odoo no gestiona capas de datos por el momento.

  • Es posible que Google Tag Manager no cumpla con las regulaciones locales de protección de datos.

Siga estos pasos para configurar GTM:

  1. Vaya a https://tagmanager.google.com/ para crear o iniciar sesión en una cuenta de Google.

  2. En la pestaña Cuentas, haga clic en Crear cuenta.

  3. Escriba el nombre de cuenta y seleccione el país correspondiente.

  4. Escriba la URL de su sitio web en el campo Nombre de contenedor y seleccione la plataforma objetivo.

  5. Haga clic en Crear y acepte las condiciones del servicio.

  6. Copy the <head> and <body> codes from the popup window. Then, go to your website, click Edit, go to the Theme tab, scroll down to the Advanced section, then click <head> and </body> next to Code Injection to paste the codes, then click Save.

Nota

Los datos se recopilan de las herramientas de marketing utilizadas para monitorear el sitio web (por ejemplo, Google Analytics, Plausible, Facebook Pixel), no de Odoo.