> For the complete documentation index, see [llms.txt](https://library.zoom.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://library.zoom.com/technical-library/zh-tw/shang-wu-fu-wu/zoom-contact-center/expert-insights/integrate-zoom-contact-center-features-into-your-website/web-chat-and-video-configuration-tasks/advanced-features.md).

# 進階功能

Zoom CX Web SDK 提供進階功能，可提升整體解決方案的效能。雖然這些功能並非必需，但對於打造更完整的體驗有顯著助益。

***

### 將資料從您的網站傳遞到 Zoom CX

從您的網站分享資料到 Zoom CX 有兩種可用方法：

* 使用「來自網站資料」功能進行網站資料收集
* 消費者驗證

這兩種方法都可讓您將資訊儲存在 Zoom CX 全域變數中，但它們的用途與安全等級不同。

#### <mark style="color:藍色;">**使用「來自網站資料」功能進行網站資料收集**</mark>

此方法可讓您從訪客的瀏覽器中擷取一般資料，包括：

* JavaScript 變數
* LocalStorage
* Session 儲存空間
* Cookie

作為 ZCX 全域變數設定的一部分，管理員可以設定上述網站資料元件與 ZCX 全域變數之間的對應，如下方範例所示。

<figure><img src="/files/0a8322765c9f476a70de15127c78654c49526191" alt="Screen display showing how to configure the ZCX Global Variable."><figcaption></figcaption></figure>

一旦儲存在 Zoom CX 全域變數中，擷取到的資料即可用於以下用途，例如：

* 傳遞一般網頁資訊（例如：目前網頁資訊、購物車中的項目等）
* 為所有訪客啟用個人化體驗

#### <mark style="color:藍色;">**消費者驗證**</mark>

此方法專為安全地將已驗證使用者資訊從您的網站傳送到 Zoom CX 而設計。它使用已簽署的 JWT（JSON Web Tokens）來確保資料完整性與真實性，非常適合用於：

* 識別已知使用者
* 傳遞敏感的客戶資訊
* 為已驗證訪客啟用個人化體驗

這兩種方法都會將資料儲存在 Zoom CX 全域變數中，但消費者驗證透過憑證驗證增加了另一層安全性，確保敏感的客戶識別資料受到保護。下方圖片顯示如何從 JWT 擷取資料並將其儲存在全域變數中。在此範例中，我們從 JWT 的 JSON 欄位 name.first 擷取使用者的名字。

<figure><img src="/files/941b7f8289203937a618b4e95e90b5be28da4960" alt="Screen display showing how to extract the user&#x27;s first name."><figcaption></figcaption></figure>

消費者驗證功能要求您的網站開發團隊建置一個特殊端點，以提供消費者驗證資料，包括已簽署的 JWT。

如需更多資訊，請參閱以下 Zoom 支援文章：

* [全域變數](https://support.zoom.com/hc/en/article?id=zm_kb\&sysparm_article=KB0059058)
* [網站資料](https://support.zoom.com/hc/en/article?id=zm_kb\&sysparm_article=KB0059058)
* [消費者驗證](https://support.zoom.com/hc/en/article?id=zm_kb\&sysparm_article=KB0057542)

***

### Campaign SDK 方法/事件

透過可程式化控制 Zoom CX Web SDK，讓開發人員更有效率地管理互動視窗與邀請。

透過此功能，開發人員可以利用其網站的 JavaScript 前端程式碼，無縫管理 Zoom CX 邀請與互動視窗，包括自動開啟、關閉或隱藏它們。

如需關於這些方法和事件的更多資訊，請查看以下開發人員文件：

* [Zoom Contact Center](https://developers.zoom.us/docs/contact-center/)
* [Zoom 虛擬代理](https://developers.zoom.us/docs/virtual-agent/web/reference/)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://library.zoom.com/technical-library/zh-tw/shang-wu-fu-wu/zoom-contact-center/expert-insights/integrate-zoom-contact-center-features-into-your-website/web-chat-and-video-configuration-tasks/advanced-features.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
