> ## Documentation Index
> Fetch the complete documentation index at: https://docs.li2.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Conversion Tracking Li2 Trên WordPress

> Hướng dẫn thiết lập theo dõi chuyển đổi (conversion tracking) trên website WordPress/WooCommerce bằng plugin Li2 Analytics, để ghi nhận lead và sale gắn với đúng link marketing. Bao gồm các bước cài plugin, cấu hình sự kiện, tạo short link và kiểm tra tracking hoạt động.

**Conversion Tracking** giúp doanh nghiệp biết chính xác người dùng đã làm gì sau khi nhấp vào link marketing. Thay vì chỉ đo lượt click, Li2 cho phép theo dõi toàn bộ hành động chuyển đổi như đăng ký tài khoản, thêm sản phẩm vào giỏ hàng hay tạo đơn hàng trên website.

Với WordPress và WooCommerce, Li2 hỗ trợ kết nối nhanh bằng plugin, giúp marketer triển khai tracking mà không cần can thiệp code phức tạp. Chỉ trong vài bước, bạn có thể kết nối website, tạo short link và bắt đầu ghi nhận conversion theo từng chiến dịch. Điều này giúp đo hiệu quả marketing rõ ràng hơn, tối ưu ngân sách nhanh hơn và hiểu chính xác nguồn nào đang tạo ra doanh thu.

## Hướng dẫn thiết lập Conversion Tracking WordPress với Li2

<Steps>
  <Step title="Chọn Link Attribution">
    Tại menu bên trái, vào **Bắt đầu** → tại tab **Link Attribution** chọn **Bắt đầu**

    <Frame>
      <img src="https://mintcdn.com/ftc/leaEpofM1ZHcagce/images/chon-bat-dau-voi-link-attribution.png?fit=max&auto=format&n=leaEpofM1ZHcagce&q=85&s=07a0d86fce0c6a86fd1cc190f377f8ae" alt="Chon Bat Dau Voi Link Attribution" width="1920" height="706" data-path="images/chon-bat-dau-voi-link-attribution.png" />
    </Frame>
  </Step>

  <Step title="Chọn mục tiêu theo dõi chuyển đổi">
    * Chọn **Theo dõi chuyển đổi**

    <Frame>
      <img src="https://mintcdn.com/ftc/leaEpofM1ZHcagce/images/chon-muc-tieu-theo-doi-chuyen-doi.png?fit=max&auto=format&n=leaEpofM1ZHcagce&q=85&s=165e3b198a8225acb43a3277dc4f812e" alt="Chon Muc Tieu Theo Doi Chuyen Doi" width="1920" height="540" data-path="images/chon-muc-tieu-theo-doi-chuyen-doi.png" />
    </Frame>

    <Info>
      Nếu website sử dụng WordPress, hệ thống sẽ tự động hiển thị đề xuất tùy chọn **Thiết lập với WordPress.**
    </Info>

    * Nhấn chọn **Thiết lập với WordPress**, để tiếp tục cấu hình.

    <Frame>
      <img src="https://mintcdn.com/ftc/leaEpofM1ZHcagce/images/de-xuat-thiet-lap-conversion-tracking-voi-wordpress.png?fit=max&auto=format&n=leaEpofM1ZHcagce&q=85&s=13fa6d320c0fd78de05b7551085e3c31" alt="De Xuat Thiet Lap Conversion Tracking Voi Wordpress" width="1920" height="715" data-path="images/de-xuat-thiet-lap-conversion-tracking-voi-wordpress.png" />
    </Frame>
  </Step>

  <Step title="Install Plugin - Tải và cài plugin Li2 Analytics">
    * Tải file plugin **Li2 Analytics** trực tiếp từ trang hướng dẫn trên Li2

    <Frame>
      <img src="https://mintcdn.com/ftc/8lpoplG7ONlnA2ID/images/tai-file-zip-cua-plugin-li2-analytics.png?fit=max&auto=format&n=8lpoplG7ONlnA2ID&q=85&s=ffc96ad329f84a41bbcc74d4738c27cf" alt="Tai File Zip Cua Plugin Li2 Analytics" width="1920" height="938" data-path="images/tai-file-zip-cua-plugin-li2-analytics.png" />
    </Frame>

    * Nhấn vào **Plugins → Thêm mới** để mở nhanh trang cài đặt plugin trên WordPress Admin.

    <Frame>
      <img src="https://mintcdn.com/ftc/8lpoplG7ONlnA2ID/images/mo-wordpress-admin-cua-trang-web-nhanh.png?fit=max&auto=format&n=8lpoplG7ONlnA2ID&q=85&s=7ee17284671245ef55322fc7cdec3d1f" alt="Mo Wordpress Admin Cua Trang Web Nhanh" width="1920" height="938" data-path="images/mo-wordpress-admin-cua-trang-web-nhanh.png" />
    </Frame>

    * Trong trang **Thêm plugin mới** của WordPress Admin, thực hiện các bước sau:
      * Chọn **Upload Plugin**
          <Frame>
            <img src="https://mintcdn.com/ftc/8lpoplG7ONlnA2ID/images/upload-plugin-tai-wordpress-admin.png?fit=max&auto=format&n=8lpoplG7ONlnA2ID&q=85&s=322a9950b5a7ce98a451f44caa482eac" alt="Upload Plugin Tai Wordpress Admin" width="1920" height="566" data-path="images/upload-plugin-tai-wordpress-admin.png" />
          </Frame>
      * Tải file `.zip` của **Li2 Analytics** lên
      * Nhấn **Install Now** để tải lên
          <Frame>
            <img src="https://mintcdn.com/ftc/8lpoplG7ONlnA2ID/images/install-plugin-li2-analytics.png?fit=max&auto=format&n=8lpoplG7ONlnA2ID&q=85&s=c0664df2ecd7f76da51cd0d0529c6ff4" alt="Install Plugin Li2 Analytics" width="1920" height="679" data-path="images/install-plugin-li2-analytics.png" />
          </Frame>
      * Nhấn **Activate Plugin** để kích hoạt
          <Frame>
            <img src="https://mintcdn.com/ftc/leaEpofM1ZHcagce/images/active-plugin-li2-analytics.png?fit=max&auto=format&n=leaEpofM1ZHcagce&q=85&s=1fcd4b6f05f4b4cf4ed19c63b1937b4e" alt="Active Plugin Li2 Analytics" width="1920" height="866" data-path="images/active-plugin-li2-analytics.png" />
          </Frame>

    Sau khi hoàn tất, quay lại Li2 và nhấn **Done – Plugin is installed**.

    <Frame>
      <img src="https://mintcdn.com/ftc/leaEpofM1ZHcagce/images/Done-Plugin-is-installed.png?fit=max&auto=format&n=leaEpofM1ZHcagce&q=85&s=27c38d3317d3b520c99a365d0e55118a" alt="Done Plugin Is Installed" width="1920" height="924" data-path="images/Done-Plugin-is-installed.png" />
    </Frame>
  </Step>

  <Step title="Configure & Setup - Cấu hình Conversion Tracking">
    * Chọn các sự kiện chuyển đổi muốn theo dõi, ví dụ:
      * Track Lead for all registered users
      * Track Lead when a user adds an item to cart
      * Track Sale when a user creates an order
    * Nhấn **Auto Configure** để Li2 tự động cấu hình plugin và kết nối API với WordPress

    <Frame>
      <img src="https://mintcdn.com/ftc/leaEpofM1ZHcagce/images/configured-setup.png?fit=max&auto=format&n=leaEpofM1ZHcagce&q=85&s=0e47d7d51c07edebe21ab275969bd70f" alt="Configured Setup" width="1920" height="1166" data-path="images/configured-setup.png" />
    </Frame>

    Sau khi cấu hình hoàn tất, nhấn **Done — Plugin is configured** để chuyển sang bước tiếp theo.
  </Step>

  <Step title="Verify Installation - Kiểm tra trạng thái kết nối">
    * Nhấn kiểm tra **Open Site to Verify**

    <Frame>
      <img src="https://mintcdn.com/ftc/leaEpofM1ZHcagce/images/check-verify-trang-web.png?fit=max&auto=format&n=leaEpofM1ZHcagce&q=85&s=6b9f8e6bb2bedff695e75b214233e2be" alt="Check Verify Trang Web" width="1920" height="871" data-path="images/check-verify-trang-web.png" />
    </Frame>

    * Li2 sẽ tự động kiểm tra:
      * Plugin đã được kích hoạt
      * Publishable Key
      * Server API Key
      * Các sự kiện tracking đã hoạt động

    Nếu toàn bộ trạng thái hiển thị dấu xác nhận màu xanh, nhấn **Continue** để tiếp tục.

    <Frame>
      <img src="https://mintcdn.com/ftc/8lpoplG7ONlnA2ID/images/hoan-thanh-buoc-verify-trang-web.png?fit=max&auto=format&n=8lpoplG7ONlnA2ID&q=85&s=84332079416a7ea6f84d637d0a0f394f" alt="Hoan Thanh Buoc Verify Trang Web" width="1920" height="1075" data-path="images/hoan-thanh-buoc-verify-trang-web.png" />
    </Frame>
  </Step>

  <Step title="Create Short Link - Tạo short link để tracking">
    * Chọn **Create New**
    * Nhập:
      * **Destination URL**: URL website hoặc landing page cần theo dõi
      * **Custom Slug** (không bắt buộc): đặt tên slug cho short link

    Sau đó nhấn **Create Short Link** để tạo link tracking.

    <Frame>
      <img src="https://mintcdn.com/ftc/leaEpofM1ZHcagce/images/Create-shortlink-de-test.png?fit=max&auto=format&n=leaEpofM1ZHcagce&q=85&s=88c24606f84b96ca3a2630bcbe16cb76" alt="Create Shortlink De Test" width="1920" height="895" data-path="images/Create-shortlink-de-test.png" />
    </Frame>

    Khi tạo link ngắn, bạn nhấn **Continue** để đến  bước tiếp theo
  </Step>

  <Step title="Test Tracking - Kiểm tra hoạt động tracking">
    * Truy cập short link vừa tạo
    * Thực hiện các hành động đã thiết lập tracking trên website, ví dụ:
      * Đăng ký tài khoản
      * Thêm sản phẩm vào giỏ hàng
      * Hoàn tất đơn hàng

    Sau đó:

    * Nhấn **Check Conversions** để kiểm tra dữ liệu conversion đã ghi nhận trên Li2 hay chưa
    * Nếu dữ liệu hiển thị thành công, nhấn **Done** để hoàn tất thiết lập Conversion Tracking.

    <Frame>
      <img src="https://mintcdn.com/ftc/leaEpofM1ZHcagce/images/check-conversion-khi-da-gan-plugin-thanh-cong.png?fit=max&auto=format&n=leaEpofM1ZHcagce&q=85&s=ca88c8e3c08ed279b073a331425ca2d3" alt="Check Conversion Khi Da Gan Plugin Thanh Cong" width="1920" height="895" data-path="images/check-conversion-khi-da-gan-plugin-thanh-cong.png" />
    </Frame>
  </Step>
</Steps>

Sau khi hoàn tất thiết lập, bạn đã có hệ thống Conversion Tracking hoạt động trực tiếp trên website WordPress/WooCommerce với Li2. Từ đây, mọi hành động quan trọng của người dùng như đăng ký, thêm giỏ hàng hay tạo đơn hàng đều được ghi nhận và gắn với đúng nguồn marketing. Thay vì chỉ nhìn vào lượt click, bạn có thể đo chính xác chiến dịch nào tạo ra chuyển đổi và doanh thu thực tế.
