---
title: "Sitecore CDPとの統合"
slug: "integrating-with-sitecore-cdp"
abstract: "Stream APIを用いて行動およびトランザクションデータを収集・送信することで、Sitecore CDPにアプリを統合する方法の概要。"
---
# Sitecore CDPとの統合

Sitecore CDPは、ユーザーがアプリケーションとやり取りする際の行動および取引データを収集します。このデータを収集してSitecore CDPに送信するには、まずアプリをSitecore CDPと統合する必要があります。

[Sitecore Engage SDK](https://doc.sitecore.com/cdp/ja/developers/api/stream-api/sitecore-engage-sdk-reference/sitecore-engage-sdk-reference.html "Sitecore Engage SDK reference")での統合をお勧めします。

> !注もし組織に[JSS Next.js](https://doc.sitecore.com/xmc/en/developers/jss/22/jss-xmc/en/javascript-services-sdk--jss--for-next-js.html)やJSS AngularアプリケーションがSitecoreAIに接続されている場合は、[Sitecore Cloud SDK](https://doc.sitecore.com/sdk/en/developers/005/cloud-sdk/en/sitecore-cloud-sdk-for-javascript.html)を使ってSitecoreAIサイトにSitecore CDP関連機能を実装してください。また、[Cloud SDKとEngage SDKの比較](https://doc.sitecore.com/sdk/en/developers/005/cloud-sdk/en/cloud-sdk-comparison-charts.html)も参照してください。

## 統合中

統合中は、Stream APIを使ってリアルタイムの [行動](https://doc.sitecore.com/cdp/ja/developers/api/integrating-with-sitecore-cdp/understanding-integration-details/sending-events-using-the-engage-sdk.html "Sending events using the Engage SDK") データや [トランザクション](https://doc.sitecore.com/cdp/ja/developers/api/integrating-with-sitecore-cdp/understanding-integration-details/sending-orders-using-the-engage-sdk.html "Sending orders using the Engage SDK") データをSitecore CDPに収集・送信し始めます。

![Data capturing.](https://doc.sitecore.com/api/markdown-image/cdp/ja/developers/api/images/cdp-diagram-stream-api.jpg)

例えば、データには以下が含まれます:

-   ユーザーのページビュー数。
-   ユーザーのクリック、検索、その他の行動。
-   ユーザーが登録またはログインした際の識別子です。
-   ユーザーがショッピングカートに追加する商品。
-   注文の詳細。
-   位置情報。

## 統合後

統合後、Sitecore CDPはアプリから行動データやトランザクションデータを取得し始めます。そのデータに基づいて以下のような行動を取ることができます。

-   [収集したデータを使って顧客のセグメントを構築します。](https://doc.sitecore.com/cdp/en/users/sitecore-cdp/en/introduction-to-batch-segmentation.html)
-   [外部システムのオーディエンスを活性化すること。](https://doc.sitecore.com/cdp/en/users/sitecore-cdp/en/audience-export.html)
-   事前に構築された分析 [ダッシュボード](https://doc.sitecore.com/cdp/en/users/sitecore-cdp/en/dashboards-in-sitecore-cdp.html)でデータを閲覧すること。

このセクションのトピックは以下の通りに役立ちます:

-   [統合の準備をしてください](https://doc.sitecore.com/cdp/ja/developers/api/integrating-with-sitecore-cdp/preparing-to-integrate/preparing-to-integrate.html "Preparing to integrate")。
-   [さまざまな統合オプションを理解し](https://doc.sitecore.com/cdp/ja/developers/api/integrating-with-sitecore-cdp/preparing-to-integrate/choose-an-integration-type.html "Choose an integration type") 、自社のニーズに最も合ったものを選びましょう。
-   [うまく統合してください](https://doc.sitecore.com/cdp/ja/developers/api/integrating-with-sitecore-cdp/walkthroughs-for-integrating/walkthroughs-for-integrating.html "Walkthroughs for integrating")。