Analisi del sito web

L’analisi del sito web aiuta i proprietari di siti a monitorare come le persone utilizzano il loro sito. Fornisce dati su dati demografici dei visitatori, comportamento e interazioni, aiutando a migliorare i siti web e le strategie di marketing.

Puoi monitorare il traffico del tuo sito web Odoo utilizzando Plausible.io o Google Analytics. Consigliamo di utilizzare Plausible.io in quanto rispetta la privacy, è leggero e facile da usare.

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.

Suggerimento

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

Nota

Se hai già un account Plausible.io e vuoi collegarlo al tuo database Odoo Online, devi creare due ir.config.parameters per utilizzare i server di Plausible.io. Per farlo, attiva la modalità sviluppatore e vai a Impostazioni generali ‣ Tecnico ‣ Parametri di sistema. Fai clic su Nuovo e compila i seguenti campi Chiave e Valore:

Chiave

Valore

website.plausible_script

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

website.plausible_server

https://plausible.io

Quindi, andare sul sito web Plausible e seguire i passaggi per configurare l’account e collegarlo al database Odoo.

Avvertimento

La disattivazione dell’account gratuito Plausible.io collegato al tuo database Odoo Online rimuoverà anche le chiavi esistenti. Di conseguenza, verranno generate nuove chiavi, mentre tutti i dati storici rimarranno associati alle vecchie chiavi. Se prevedi di disattivare l’account, è consigliabile salvare le chiavi esistenti per preservare l’accesso a tali dati.

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. Una volta fatto, clicca sul logo Plausible.io nella parte superiore sinistra della pagina per accedere all”elenco dei siti web, poi clicca sull’icona (puntini di sospensione) accanto al sito web e seleziona Impostazioni.

    Fai clic sull'icona ingranaggio nell'elenco dei siti web.
  4. In the sidebar, select Visibility, then click Add shared link.

  5. Inserisci un Nome, mantieni l’opzione Proteggi con password disabilitata, poiché l’integrazione della dashboard di analisi Plausible in Odoo non la supporta, poi clicca su Crea link condiviso.

  6. Click COPY to add the shared link to the clipboard.

    Copiare l'URL del link condiviso da Plausible.io
  7. In Odoo, andare su Sito web ‣ Configurazione ‣ Impostazioni.

  8. Nella sezione Tracking & SEO, abilita Plausible Analytics, poi incolla il Shared Link Auth e clicca su Salva.

Suggerimento

  • 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

Per monitorare il traffico del sito web Odoo con Google Analytics:

  1. Creare un account Google o accedere a un account esistente utilizzando il seguente link: https://analytics.google.com.

    • Se si sta configurando Google Analytics per la prima volta, fare clic su Inizia a misurare e procedere con la fase di creazione dell’account.

    • 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. Quando raggiungi il passaggio Raccolta dati, scegli la piattaforma Web.

  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 di misurazione in Google Analytics.
  7. In Odoo, andare su Sito web ‣ Configurazione ‣ Impostazioni.

  8. In the Tracking & SEO section, enable Google Analytics, then paste the measurement ID in the Measurement ID or Tag field and click Save.

Suggerimento

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.

Per maggiori informazioni, consulta la documentazione sul collegamento di Google Analytics e Google Tag Manager.

Avvertimento

  • Alcuni tag GTM utilizzano livelli di dati (ad esempio, livelli di dati di monitoraggio e-commerce avanzato) per recuperare variabili e inviarle a Google Analytics. I livelli di dati attualmente non sono gestiti in Odoo.

  • Google Tag Manager potrebbe non essere conforme alle normative locali sulla protezione dei dati.

Per configurare GTM, procedere come segue:

  1. Creare un account Google o accedere a un account esistente andando su https://tagmanager.google.com/.

  2. Nella scheda Account, fare clic su Crea account.

  3. Inserisci un nome account e seleziona il Paese dell’account.

  4. Inserisci l’URL del tuo sito web nel campo Nome contenitore e seleziona la Piattaforma di destinazione.

  5. Fai clic su Crea e accetta i Termini di servizio.

  6. Copia i codici <head> e <body> dalla finestra popup. Poi, vai al tuo sito web, fai clic su Modifica, vai alla scheda Tema, scorri fino alla sezione Avanzate, quindi fai clic su <head> e </body> accanto a Iniezione di codice per incollare i codici, poi fai clic su Salva.

Nota

I dati vengono raccolti negli strumenti di marketing utilizzati per monitorare il sito web (ad esempio Google Analytics, Plausible, Facebook Pixel), non in Odoo.