ウェブサイト分析¶
ウェブサイト分析は、サイト所有者がサイトの利用状況を監視するのに役立ちます。訪問者の人口統計、行動、インタラクションに関するデータを提供し、ウェブサイトやマーケティング戦略の改善に役立ちます。
Odooウェブサイトのトラフィックは、:ref:`analytics/plausible`または:ref:`analytics/google-analytics`を使用して追跡できます。Plausible.ioはプライバシーに配慮し、軽量で使いやすいため、使用をお勧めします。
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-work Plausible.io solution for Odoo Online databases. Odoo automatically creates and sets up your account. You can start using it by going to .
注釈
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:
キー |
数値 |
|---|---|
|
|
|
|
次に、以下の手順に従って既存のアカウントをPlausible.ioサーバーに接続します。
データベースが**Odoo.sh**または**オンプレミス**でホストされている場合、または独自のPlausible.ioアカウントを使用する場合は、次の手順を実行してください:
Create or sign in to a Plausible account using the following link: https://plausible.io/register.
If you are creating a new account, go through the registration and activation steps. When asked to provide your website details, add its Domain without including
www(e.g.,example.odoo.com) and change the Reporting Timezone if necessary. Click Add snippet to proceed to the next step. Ignore the Add JavaScript snippet instructions and click Start collecting data.Once done, click the Plausible logo in the upper-left part of the page to access your list of websites, then click the gear icon next to the website.
In the sidebar, select Visibility, then click + New link.
Enter a Name, leave the Password field empty, as the Plausible analytics dashboard integration in Odoo doesn't support it, then click Create shared link.
共有リンクをコピーします。
Odooで、:menuselection:`ウェブサイト --> 設定 --> 管理設定`に移動します。
In the SEO section, enable Plausible Analytics, then paste the Shared Link and click Save.
ちなみに
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 before pasting the Shared link.
注釈
Odooは自動的に2つのカスタムゴールをプッシュします:`Lead Generation`と`Shop`です。
Google Analytics¶
OdooウェブサイトのトラフィックをGoogle Analyticsで追跡するには:
次のリンクを使用してGoogleアカウントを作成またはログインします:https://analytics.google.com。
Google Analyticsを初めて設定する場合は、:guilabel:`測定を開始`をクリックして、アカウント作成手順を進めます。
If you already have a Google Analytics account, sign in and click the gear icon in the bottom-left corner of the page to access the Admin page. Then, click + Create Property.
Complete the next steps: property creation, business details, and business objectives.
**データ収集**ステップに到達したら、ウェブプラットフォームを選択します。
Set up your data stream: Specify your Website URL and a Stream name, then click Create stream.
:guilabel:`測定ID`をコピーします。
Odooで、:menuselection:`ウェブサイト --> 設定 --> 管理設定`に移動します。
SEOセクションで、Google Analyticsを有効にし、測定IDを貼り付けて保存をクリックします。
ちなみに
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 before pasting the Measurement ID.
Googleタグマネージャー¶
GTM 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.
警告
一部のGTMタグは、データレイヤー(例:高度なeコマーストラッキングデータレイヤー)を使用して変数を取得し、Google Analyticsに送信します。データレイヤーは現在Odooでは管理されていません。
Googleタグマネージャーは、地域のデータ保護規制に準拠していない可能性があります。
To use GTM, proceed as follows:
https://tagmanager.google.com/ にアクセスして、Googleアカウントを作成またはログインします。
In the Accounts tab, click Create account.
ウェブサイトのURLを:guilabel:`コンテナ名`フィールドに入力し、:guilabel:`ターゲットプラットフォーム`を選択します。
:guilabel:`作成`をクリックし、利用規約に同意します。
Copy the
<head>and<body>codes from the popup window. Then, go to your website, click Edit, go to the Themes tab, scroll down to the Website Settings section, then click <head> and </body> to paste the codes.
注釈
データは、ウェブサイトを監視するために使用されるマーケティングツール(例:Google Analytics、Plausible、Facebook Pixel)で収集され、Odooでは収集されません。