> 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/ja/bijinesusbisu/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には、ソリューション全体の効果を高める高度な機能が用意されています。これらの機能はオプションですが、より充実したエクスペリエンスの実現に大きく貢献します。

***

### WebサイトからZoom CXへのデータの受け渡し

WebサイトからZoom CXにデータを共有する方法は2つあります。

* 「Webサイトデータ」機能を使用したWebサイトデータの収集
* 消費者認証

どちらの方法でも、Zoom CXのグローバル変数に情報を保存できますが、目的とセキュリティレベルは異なります。

#### <mark style="color:青;">**「Webサイトデータ」機能を使用したWebサイトデータの収集**</mark>

この方法では、訪問者のブラウザーから次のような一般的なデータを抽出できます。

* JavaScript変数
* LocalStorage
* セッションストレージ
* Cookie

ZCXグローバル変数の設定の一環として、管理者は次の例に示すように、上記のWebサイトデータの各要素とZCXグローバル変数とのマッピングを設定できます。

<figure><img src="https://2994873379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FctBXUMeBy4rtLMmMkKRG%2Fuploads%2Fgit-blob-c31bc8b4799688df4c313795cafcc8d093c2400e%2Fimage.png?alt=media" alt="Screen display showing how to configure the ZCX Global Variable."><figcaption></figcaption></figure>

抽出したデータをZoom CXのグローバル変数に保存すると、次のような用途に利用できます。

* 一般的なWebページ情報（現在のWebページの情報やショッピングカート内の商品など）の受け渡し
* すべての訪問者にパーソナライズされたエクスペリエンスを提供

#### <mark style="color:青;">**消費者認証**</mark>

この方法は、認証済みユーザーの情報をWebサイトからZoom CXへ安全に送信するために設計されています。署名付きJWT（JSON Web Token）を使用してデータの完全性と真正性を確保するため、次の用途に適しています。

* 既知のユーザーの識別
* 機密性の高い顧客情報の受け渡し
* 認証済みの訪問者にパーソナライズされたエクスペリエンスを提供

どちらの方法でもZoom CXのグローバル変数にデータを保存しますが、Consumer Authenticationでは証明書の認証によってセキュリティがさらに強化され、機密性の高い顧客識別データが保護されます。下の画像は、JWTからデータを抽出してグローバル変数に保存する方法を示しています。この例では、JWTのJSONフィールドname.firstからユーザーの名を抽出します。

<figure><img src="https://2994873379-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FctBXUMeBy4rtLMmMkKRG%2Fuploads%2Fgit-blob-b0f1ac5e2331187bdee3ad73a31383a4acdc288f%2Fimage.png?alt=media" alt="Screen display showing how to extract the user&#x27;s first name."><figcaption></figcaption></figure>

Consumer Authentication機能を使用するには、Webサイトの開発チームが、署名付きJWTを含むConsumer Authenticationデータを提供する専用のエンドポイントを構築する必要があります。

詳細については、次のZoomサポートの記事をご覧ください。

* [グローバル変数](https://support.zoom.com/hc/en/article?id=zm_kb\&sysparm_article=KB0059058)
* [Webサイトデータ](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)

***

### キャンペーンSDKのメソッド／イベント

開発者は、Zoom CX Web SDKをプログラムから制御して、エンゲージメントウィンドウや招待を効率的に管理できます。

この機能を使用すると、開発者はWebサイトのJavaScriptフロントエンドコードから、Zoom CXの招待やエンゲージメントウィンドウをシームレスに管理できます。これには、自動的に開く、閉じる、非表示にするといった操作が含まれます。

メソッドとイベントの詳細については、次の開発者向けドキュメントをご覧ください。

* [Zoom コンタクトセンター](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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://library.zoom.com/technical-library/ja/bijinesusbisu/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=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
