Phân tích website

Phân tích website giúp chủ sở hữu website theo dõi cách mọi người sử dụng trang web của họ. Nó cung cấp dữ liệu về nhân khẩu học, hành vi và tương tác của khách truy cập, giúp cải thiện các chiến lược website và tiếp thị.

Bạn có thể theo dõi lưu lượng truy cập website Odoo của mình bằng cách sử dụng Plausible.io hoặc Google Analytics. Chúng tôi khuyên dùng Plausible.io vì nó thân thiện với quyền riêng tư, nhẹ và dễ sử dụng.

The Plausible analytics dashboard is also integrated into Odoo and can be accessed via Website ‣ Reporting ‣ Analytics.

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 Website ‣ Reporting ‣ Analytics.

Ghi chú

Nếu bạn đã có tài khoản Plausible.io và muốn kết nối tài khoản này với cơ sở dữ liệu Odoo Online của mình, bạn cần tạo hai ir.config.parameters để sử dụng máy chủ của Plausible.io. Để thực hiện điều đó, hãy bật chế độ nhà phát triển và truy cập vào Cài đặt chung ‣ Kỹ thuật ‣ Tham số hệ thống. Nhấn Mới và điền thông tin vào các trường KhóaGiá trị như sau:

Khoá

Giá trị

website.plausible_script

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

website.plausible_server

https://plausible.io

Sau đó, làm theo các bước bên dưới để kết nối tài khoản hiện có của bạn với máy chủ Plausible.io.

Nếu cơ sở dữ liệu của bạn được lưu trữ trên Odoo.sh hoặc On-premise, hoặc nếu bạn muốn sử dụng tài khoản Plausible.io riêng của mình, hãy thực hiện như sau:

  1. Create or sign in to a Plausible account using the following link: https://plausible.io/register.

  2. Nếu bạn đang tạo một tài khoản mới, hãy thực hiện các bước đăng ký và kích hoạt. Khi được yêu cầu cung cấp thông tin trang web, hãy thêm Miền không bao gồm www (VD: example.odoo.com) và thay đổi Múi giờ báo cáo nếu cần thiết. Nhấp vào Thêm snippet để tiếp tục sang bước tiếp theo. Bỏ qua hướng dẫn Thêm snippet JavaScript và nhấp vào :guilabel:`Bắt đầu thu thập dữ liệu.

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

    Nhấp vào biểu tượng bánh răng trong danh sách các website.
  4. In the sidebar, select Visibility, then click + New link.

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

    Credentials creation for the new shared link
  6. Sao chép liên kết chia sẻ.

    Sao chép URL liên kết chia sẻ từ Plausible.io
  7. Trong Odoo, chuyển đến Website ‣ Configuration ‣ Settings.

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

Mẹo

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.

Ghi chú

Odoo tự động đẩy hai mục tiêu tùy chỉnh: Lead GenerationShop.

Google Analytics

Để theo dõi lưu lượng truy cập trang web Odoo của bạn bằng Google Analytics:

  1. Tạo hoặc đăng nhập vào tài khoản Google bằng liên kết sau: https://analytics.google.com.

    • Nếu bạn đang thiết lập Google Analytics lần đầu tiên, hãy nhấp vào Start measuring và thực hiện qua bước tạo tài khoản.

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

      ID đo lường trong Google Analytics.
  2. Complete the next steps: property creation, business details, and business objectives.

  3. Khi bạn đến bước Data collection, hãy chọn nền tảng Web.

    Chọn nền tảng cho thuộc tính Google Analytics của bạn.
  4. Set up your data stream: Specify your Website URL and a Stream name, then click Create stream.

  5. Sao chép Measurement ID.

    ID đo lường trong Google Analytics.
  6. Trong Odoo, chuyển đến Website ‣ Configuration ‣ Settings.

  7. Trong phần SEO, bật Google Analytics, sau đó dán Measurement ID và nhấp Save.

Mẹo

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 Tag Manager

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.

Cảnh báo

  • Một số thẻ GTM sử dụng lớp dữ liệu (ví dụ: lớp dữ liệu theo dõi thương mại điện tử nâng cao) để truy xuất biến và gửi chúng đến Google Analytics. Các lớp dữ liệu hiện không được quản lý trong Odoo.

  • Google Tag Manager có thể không tuân thủ các quy định bảo vệ dữ liệu địa phương.

To use GTM, proceed as follows:

  1. Tạo hoặc đăng nhập vào tài khoản Google bằng cách truy cập https://tagmanager.google.com/.

  2. In the Accounts tab, click Create account.

  3. Nhập Account Name và chọn Country của tài khoản.

  4. Nhập URL trang web của bạn vào trường Container name và chọn Target platform.

  5. Nhấp vào Create và đồng ý với Điều khoản dịch vụ.

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

    Cài đặt Google Tag Manager

Ghi chú

Dữ liệu được thu thập trong các công cụ tiếp thị được sử dụng để giám sát trang web (ví dụ: Google Analytics, Plausible, Facebook Pixel), không phải trong Odoo.