Analys av webbplatser¶
Webbplatsanalys hjälper webbplatsägare att övervaka hur människor använder deras webbplats. Den ger information om besökarnas demografi, beteende och interaktioner, vilket bidrar till att förbättra webbplatser och marknadsföringsstrategier.
Du kan spåra trafiken på din Odoo-webbplats med hjälp av Plausible.io eller Google Analytics. Vi rekommenderar att du använder Plausible.io eftersom det är integritetsvänligt, lätt och enkelt att använda.
The Plausible Analytics dashboard is also integrated into Odoo and can be accessed via
.Plausible.io¶
Odoo hosts its own Plausible.io server and provides a free and ready-to-use Plausible.io solution for Odoo Online databases that use the odoo.com domain. Odoo automatically creates and sets up your account. Start using it by going to
.Observera
If you use a custom domain name (e.g.,
example.com
), you need to create your own Plausible.io account and subscription.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 . Click New and fill in the following Key and Value fields:Nyckel
Värde
webbplats.plausible_script
https://plausible.io/js/plausible.js
website.plausible_server
https://plausible.io
Följ sedan stegen nedan för att ansluta ditt befintliga konto till Plausible.ios servrar.
Varning
Deactivating the free Plausible.io account linked to your Odoo Online database will also invalidate the existing keys, making them unusable. As a result, new keys will be generated, and all historical data linked to the old keys will be lost. If you plan to deactivate the account, it is recommended to back up your data locally beforehand.
Om din databas finns på Odoo.sh eller On-premise, eller om du vill använda ditt eget Plausible.io-konto, gör du på följande sätt:
Create or sign in to a Plausible.io account using the following link: https://plausible.io/register.
If you are creating a new account, go through the registration and activation steps. On the Add website info page, add the Domain of your website without including
www
(e.g.,example.odoo.com
) and change the Reporting Timezone, if necessary. Click Install Plausible to proceed to the next step. Ignore the Manual installation instructions and click Start collecting data.Once done, click the Plausible.io logo in the upper-left part of the page to access your list of websites, then click the (ellipsis) icon next to the website and select Settings from the drop-down menu.
In the sidebar, select Visibility, then click Add Shared link.
Enter a Name, leave the Password (optional) field empty, as the Plausible analytics dashboard integration in Odoo does not support it, then click Create shared link.
Kopiera den delade länken.
I Odoo, gå till
.In the SEO section, enable Plausible Analytics, then paste the Shared Link Auth and click Save.
Tips
If you have multiple websites, add your websites to your Plausible.io account by going to https://plausible.io/sites and clicking + Add Website. In Odoo, in the Website settings, make sure to select the website in the Settings of Website field at the top of the page before pasting the Shared link.
Observera
Odoo driver automatiskt två anpassade mål: Lead Generation
och Shop
.
Google Analytics¶
För att följa trafiken på din Odoo-webbplats med Google Analytics:
Skapa eller logga in på ett Google-konto via följande länk: https://analytics.google.com.
Om du konfigurerar Google Analytics för första gången klickar du på Start mätning och går igenom steget för att skapa ett konto.
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.
När du kommer till steget Datainsamling väljer du plattformen Web.
Set up your data stream: Specify your Website URL and a Stream name, then click Create & continue.
Kopiera Measurement ID.
I Odoo, gå till
.I avsnittet SEO, aktivera Google Analytics, klistra sedan in Measurement ID och klicka på Save.
Tips
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 Settings of Website field 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.
Observera
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.
For more information refer to the documentation on linking Google Analytics and Google Tag Manager.
Varning
Vissa GTM-taggar använder datalager (t.ex. avancerade datalager för spårning av e-handel) för att hämta variabler och skicka dem till Google Analytics. Datalager hanteras för närvarande inte i Odoo.
Google Tag Manager kanske inte överensstämmer med lokala dataskyddsbestämmelser.
To configure GTM, proceed as follows:
Skapa eller logga in på ett Google-konto genom att gå till https://tagmanager.google.com/.
In the Accounts tab, click Create Account.
Ange ett Kontonamn och välj kontots Land.
Ange webbplatsens URL i fältet Container name och välj Target platform.
Klicka på Create och godkänn användarvillkoren.
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.
Observera
Uppgifterna samlas in i de marknadsföringsverktyg som används för att övervaka webbplatsen (t.ex. Google Analytics, Plausible, Facebook Pixel), inte i Odoo.