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, and the Plausible Analytics dashboard is integrated into Odoo and can be accessed via .
Databases hosted on Odoo Online benefit from a free, ready-to-use Plausible.io solution with automatically generated credentials and a preconfigured Plausible account. To enable it, go to , then, in the Tracking & SEO section, enable Plausible Analytics, and click Save. The credentials are automatically filled in the Shared Link Auth and the Site fields.
Truco
Click the See Analytics Report link to open the corresponding report.
Nota
Si ya tienes una cuenta de Plausible.io y deseas conectarla a tu base de datos de Odoo Online, debes crear dos ir.config.parameters para usar los servidores de Plausible.io. Para hacerlo, activa el modo de desarrollador y ve a . Haz clic en Nuevo y completa los siguientes campos Clave y Valor:
Clave
Valor
website.plausible_script
https://plausible.io/js/plausible.js
website.plausible_server
https://plausible.io
Luego, ve al sitio web de Plausible y sigue los pasos para configurar tu cuenta y vincularla a tu base de datos de Odoo.
Advertencia
Desactivar la cuenta gratuita de Plausible.io vinculada a tu base de datos de Odoo Online también eliminará las claves existentes. Como resultado, se generarán nuevas claves, mientras que todos los datos históricos permanecerán asociados con las claves antiguas. Si planeas desactivar la cuenta, se recomienda guardar las claves existentes para preservar el acceso a esos datos.
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:
If you are creating a new account, go through the registration and activation steps. On the Add a website page, enter your website Domain name without including
wwworhttp(e.g.,example.com), and click Add site. On the Add tracking to your site page, follow the instructions to install Plausible on your site. Once done, click I’ve installed it to proceed to the next step.Una vez hecho esto, haz clic en el logotipo de Plausible.io en la parte superior izquierda de la página para acceder a la lista de sitios web, luego haz clic en el icono (puntos suspensivos) junto al sitio web y selecciona Ajustes.
In the sidebar, select Visibility, then click Add shared link.
Ingresa un Nombre, mantén la opción Proteger con contraseña deshabilitada, ya que la integración del tablero de análisis de Plausible en Odoo no la admite, luego haz clic en Crear enlace compartido.
Click COPY to add the shared link to the clipboard.
En Odoo, vaya a .
En la sección Seguimiento y SEO, habilita Plausible Analytics, luego pega la Autenticación de enlace compartido y haz clic en Guardar.
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 GenerationandShop. 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 .
Ver también
Google Analytics¶
Para llevar el seguimiento del tráfico del sitio web de Odoo con Google Analytics:
Cree o inicie sesión en su cuenta de Google usando 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.
Complete the next steps: property creation, Business details, and Business objectives, and click Create.
Cuando llegues al paso Recopilación de datos, elige la plataforma Web.
Set up your data stream: Specify your Website URL and a Stream name, then click Create & continue in the upper-right corner.
Close the Set up a Google Tag popover, as no Google Tag is required to link Google Analytics to Odoo.
In the Web stream details popover, copy the Measurement ID.
En Odoo, vaya a .
In the Tracking & SEO section, enable Google Analytics, then paste the measurement ID in the Measurement ID or Tag field 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 correct website in the field next to New website at the top of the page before pasting the Measurement ID.
Google Tag Manager¶
Google Tag Manager is a tag management system that allows you to easily update measurement codes and related code fragments, collectively known as tags, on your website or mobile app, directly through the code injector.
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. To use GTM properly, it is recommended to configure Google Analytics as well.
For more information, refer to the documentation on linking Google Analytics and Google Tag Manager.
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.
Para configurar GTM, procede de la siguiente manera:
Vaya a https://tagmanager.google.com/ para crear o iniciar sesión en una cuenta de Google.
En la pestaña Cuentas, haz clic en Crear cuenta.
Escriba el nombre de cuenta y seleccione el país correspondiente.
Escriba la URL de su sitio web en el campo Nombre de contenedor y seleccione la plataforma objetivo.
Haga clic en Crear y acepte las condiciones del servicio.
Copy the
<head>and<body>codes from the pop-up 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.
Ver también