تحليلات الموقع الإلكتروني

تساعد تحليلات الموقع الإلكتروني أصحاب المواقع على مراقبة كيفية استخدام الأشخاص لموقعهم. وهي توفر بيانات عن التركيبة السكانية للزوار وسلوكهم وتفاعلاتهم، مما يساعد على تحسين المواقع الإلكترونية واستراتيجيات التسويق.

يمكنك تتبع حركة المرور على موقع Odoo الإلكتروني الخاص بك باستخدام Plausible.io أو تحليلات Google. نوصي باستخدام Plausible.io لأنه يحترم الخصوصية وخفيف الوزن وسهل الاستخدام.

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.

نصيحة

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

ملاحظة

إذا كان لديك بالفعل حساب Plausible.io وتريد ربطه بقاعدة بيانات Odoo Online الخاصة بك، يجب عليك إنشاء معاملين ir.config.parameters لاستخدام خوادم Plausible.io. للقيام بذلك، فعّل وضع المطور وانتقل إلى الإعدادات العامة ‣ التقنية ‣ معاملات النظام. انقر على جديد واملأ حقول المفتاح و القيمة التالية:

المفتاح

القيمة

website.plausible_script

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

website.plausible_server

https://plausible.io

بعد ذلك، انتقل إلى موقع Plausible واتبع الخطوات لإعداد حسابك وربطه بقاعدة بيانات Odoo الخاصة بك.

تحذير

إلغاء تنشيط حساب Plausible.io المجاني المرتبط بقاعدة بيانات Odoo Online الخاصة بك سيؤدي أيضًا إلى إزالة المفاتيح الموجودة. ونتيجة لذلك، سيتم إنشاء مفاتيح جديدة، بينما ستظل جميع البيانات التاريخية مرتبطة بالمفاتيح القديمة. إذا كنت تخطط لإلغاء تنشيط الحساب، فمن المستحسن حفظ المفاتيح الموجودة للحفاظ على الوصول إلى تلك البيانات.

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. بمجرد الانتهاء، انقر على شعار Plausible.io في الجزء العلوي الأيسر من الصفحة للوصول إلى قائمة مواقع الويب، ثم انقر على أيقونة (القائمة المنسدلة) بجوار الموقع الإلكتروني وحدد الإعدادات.

    انقر على أيقونة الترس في قائمة المواقع الإلكترونية.
  4. In the sidebar, select Visibility, then click Add shared link.

  5. أدخل الاسم، وأبقِ خيار الحماية بكلمة مرور معطلاً، حيث أن تكامل لوحة بيانات Plausible Analytics في Odoo لا يدعمه، ثم انقر على إنشاء رابط مشترك.

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

    انسخ عنوان URL للرابط المشترك من Plausible.io
  7. في Odoo، انتقل إلى الموقع الإلكتروني ‣ الإعدادات ‣ الإعدادات.

  8. في قسم التتبع وتحسين محركات البحث، فعّل Plausible Analytics، ثم الصق مصادقة الرابط المشترك وانقر على حفظ.

نصيحة

  • 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 .

انظر أيضًا

وثائق Plausible Analytics

تحليلات Google

لمتابعة حركة زوار موقعك الإلكتروني على Odoo باستخدام Google Analytics:

  1. أنشئ حسابًا في Google أو سجّل الدخول إليه باستخدام الرابط التالي: https://analytics.google.com.

    • إذا كنت تقوم بإعداد Google Analytics لأول مرة، فانقر فوق Start measuring وقم بإجراء خطوة إنشاء الحساب.

    • 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. عندما تصل إلى خطوة جمع البيانات، اختر منصة الويب.

  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.

    معرّف القياس في Google Analytics.
  7. في Odoo، انتقل إلى الموقع الإلكتروني ‣ الإعدادات ‣ الإعدادات.

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

نصيحة

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.

ملاحظة

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.

تحذير

  • تستخدم بعض علامات GTM طبقات البيانات (مثل طبقات بيانات تتبع المتجر الإلكتروني المتقدم) لاسترداد المتغيرات وإرسالها إلى Google Analytics. لا تتم إدارة طبقات البيانات حاليًا في Odoo.

  • قد لا يكون Google Tag Manager متوافقًا مع لوائح حماية البيانات المحلية.

لتكوين GTM، تابع كما يلي:

  1. أنشئ حسابًا في Google أو قم بتسجيل الدخول إليه بالانتقال إلى https://tagmanager.google.com/.

  2. في علامة التبويب الحسابات، انقر فوق إنشاء حساب.

  3. أدخل اسم الحساب وحدد البلد الخاص بالحساب.

  4. أدخل عنوان URL لموقعك الإلكتروني في حقل اسم الحاوية وحدد المنصة المستهدفة.

  5. انقر فوق إنشاء ووافق على شروط الخدمة.

  6. 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.

ملاحظة

يتم جمع البيانات في أدوات التسويق المستخدمة لمراقبة الموقع الإلكتروني (مثل Google Analytics أو Plausible أو Facebook Pixel)، وليس في Odoo.