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 .
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 .
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 . Nhấn Mới và điền thông tin vào các trường Khóa và Giá trị như sau:
Khoá |
Giá trị |
|---|---|
|
|
|
|
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:
Create or sign in to a Plausible account using the following link: https://plausible.io/register.
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.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.
Sao chép liên kết chia sẻ.
Trong Odoo, chuyển đến .
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 Generation và Shop.
Xem thêm
Google Analytics¶
Để theo dõi lưu lượng truy cập trang web Odoo của bạn bằng Google Analytics:
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.
Complete the next steps: property creation, business details, and business objectives.
Khi bạn đến bước Data collection, hãy chọn nền tảng Web.
Set up your data stream: Specify your Website URL and a Stream name, then click Create stream.
Sao chép Measurement ID.
Trong Odoo, chuyển đến .
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:
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/.
In the Accounts tab, click Create account.
Nhập Account Name và chọn Country của tài khoản.
Nhập URL trang web của bạn vào trường Container name và chọn Target platform.
Nhấp vào Create và đồng ý với Điều khoản dịch vụ.
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.
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.