> 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
* 工作階段儲存空間
* 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 Token）來確保資料完整性與真實性，非常適合用於：

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

這兩種方法都會將資料儲存在 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 Virtual Agent](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.
