Análise do site

A análise de sites ajuda os proprietários de sites a monitorar como as pessoas usam seus sites. Ele fornece dados sobre a demografia, o comportamento e as interações dos visitantes, ajudando a aprimorar os sites e as estratégias de marketing.

Você pode acompanhar o tráfego do seu site Odoo usando Plausible.io ou Google Analytics. Recomendamos o uso do Plausible.io, pois ele é adaptado à privacidade, leve e fácil de usar.

Plausible.io

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

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 Website ‣ Configuration ‣ Settings, 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.

Dica

Click the See Analytics Report link to open the corresponding report.

Nota

If you already have a Plausible.io account and you want to connect it to your Odoo Online database, you must create two ir.config.parameters to use Plausible.io’s servers. To do so, enable the developer mode and go to General Settings ‣ Technical ‣ System Parameters. Click New and fill in the following Key and Value fields:

Chave

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.

Aviso

Deactivating the free Plausible.io account linked to your Odoo Online database will also remove the existing keys. As a result, new keys will be generated, while all historical data will remain associated with the old keys. If you plan to deactivate the account, it is recommended to save the existing keys to preserve access to that data.

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 a website page, enter your website Domain name without including www or http (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.

  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.

    Clique no ícone de engrenagem na lista de sites.
  4. In the sidebar, select Visibility, then click Add shared link.

  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. Click COPY to add the shared link to the clipboard.

    Copiar o URL do link compartilhado do Plausible.io
  7. No Odoo, acesse Site ‣ Configuração ‣ Definições.

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

Dica

  • 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 acompanhar o tráfego do seu site Odoo com o Google Analytics:

  1. Crie ou inicie sessão em uma conta Google utilizando o seguinte link: https://analytics.google.com.

    • Se estiver a configurar o Google Analytics pela primeira vez, clique em Iniciar medição e siga a etapa de criação da conta.

    • 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 the next steps: property creation, Business details, and Business objectives, and click Create.

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

  4. Set up your data stream: Specify your Website URL and a Stream name, then click Create & continue in the upper-right corner.

  5. Close the Set up a Google Tag popover, as no Google Tag is required to link Google Analytics to Odoo.

  6. In the Web stream details popover, copy the Measurement ID.

    ID de medição no Google Analytics.
  7. No Odoo, acesse Site ‣ Configuração ‣ Definições.

  8. In the Tracking & SEO section, enable Google Tag Manager/Google Analytics, paste the measurement ID in the Identifier field, and click Save.

Dica

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.

Gerenciador de tags do Google (GTM)

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.

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.

Aviso

  • Algumas tags GTM usam camadas de dados (por exemplo, camadas avançadas de dados de rastreamento de e-Commerce) para recuperar variáveis e enviá-las ao Google Analytics. Atualmente, as camadas de dados não são gerenciadas no Odoo.

  • O Google Tag Manager pode não estar em conformidade com as regulamentações locais de proteção de dados.

To configure GTM, proceed as follows:

  1. Create an account and a container in Google Tag Manager.

  2. On the GTM accounts page, locate the relevant website and copy the container ID from the Container ID column. The ID starts with GTM-, e.g., GTM-1234XXX4321.

    Locate the container id.
  3. No Odoo, acesse Site ‣ Configuração ‣ Definições.

  4. In the Tracking & SEO section, enable Google Tag Manager/Google Analytics, paste the container ID in the Identifier field, and click Save.

Dica

Alternatively, GTM can be configured by manually inserting code snippets. To do so:

  1. On the GTM accounts page, click the relevant website.

  2. On the Workspace page, click the container ID in the upper-right corner.

  3. Copy the <head> and <body> code from the pop-up window.

  4. In Odoo, go to your website, click Edit. Then, navigate to the Theme tab, scroll down to the Advanced section, and, next to Code Injection, click <head> and </body> to paste the corresponding code.

  5. Clique em Salvar.

Nota

Os dados são coletados nas ferramentas de marketing usadas para monitorar o site (ex.: Google Analytics, Plausible, Facebook Pixel), não no Odoo.