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

# Amplitudeイベントストリーミング

> AmplitudeのイベントをNotiflyにストリーミングします。ユーザー属性も送信できます。Notifly用のイベント収集コードを追加せず、Amplitudeのイベントをキャンペーンに使えます。

> [!TIP]
>
> Amplitude連携は、NotiflyのProプランとEnterpriseプランで利用できます。

* Amplitudeの全プランで[リアルタイムイベントストリーミング](https://amplitude.com/docs/data/destination-event-streaming-overview)を利用できます。
* Kinesis経由で送信するイベントは、[Amplitudeのイベントストリーミング利用量](https://amplitude.com/docs/data/destination-catalog/amazon-kinesis-data-stream)に含まれます。ストリーミングの上限はAmplitudeのプランで確認してください。Notiflyのデータポイントの課金条件は、ご利用のNotiflyプランまたは契約をご確認ください。
* 設定が完了すると、Amplitudeで新たに記録されたイベントがほぼリアルタイムでNotiflyに表示されます。
* モバイル端末からAmplitudeへの送信が遅れると、Notiflyへの反映も遅れます。

> [!NOTE]
>
> イベントに応じてアプリ内ポップアップやWebポップアップを表示するには、そのイベントをNotifly SDKで収集してください。Amplitudeから届いたイベントは表示のトリガーに使えません。

## 1. AmplitudeにNotiflyを登録する

1. Amplitudeの **Data** で **Catalog** を開き、**Destinations** を選びます。
2. 送信先のカタログで **Kinesis Data Stream** を選びます。

   ![Amplitudeの送信先カタログにあるKinesis Data Stream](https://mintcdn.com/notifly/BljWoGqDT6exoK9p/images/i18n/ja/amplitude/amplitude-data-destinations.png?fit=max\&auto=format\&n=BljWoGqDT6exoK9p\&q=85\&s=81bf59ed224fdd52ab4bc8a9906fe53c)
3. **Sync Name** に `notifly` と入力し、**Create Sync** をクリックします。
4. 作成した同期の **Settings** タブで、次の値を入力します。

   * **Status** に `Enabled`
   * **AWS Region** に `Asia Pacific (Seoul) - ap-northeast-2`
   * **Stream Name** に `notifly-external-event-streaming`
   * **Role ARN** に `arn:aws:iam::702197142747:role/amplitude-kinesis-role`

![AmplitudeのKinesis送信先設定](https://mintcdn.com/notifly/BljWoGqDT6exoK9p/images/i18n/ja/amplitude/amplitude-destination-settings.png?fit=max\&auto=format\&n=BljWoGqDT6exoK9p\&q=85\&s=c046058fde963f38f32704fbf882915a)

5. **Send Events** が選択されていることを確認し、Notiflyに送信するイベントを選びます。

6. **Send Users** が表示されている場合は、オンにするとユーザー属性の変更も送信できます。Amplitudeは変更内容をIdentifyイベントとして送信します。このイベントもストリーミングの利用量に含まれます。

7. **Save** をクリックしてテスト用のダイアログを開きます。

8. テストを実行し、もう一度 **Save** をクリックして接続を確認します。

![Kinesis送信先の接続テスト](https://mintcdn.com/notifly/BljWoGqDT6exoK9p/images/i18n/ja/amplitude/verify-kinesis-destination-setup.png?fit=max\&auto=format\&n=BljWoGqDT6exoK9p\&q=85\&s=e671646e81e6203e26ea857ffed2e15d)

詳しくは、[AmplitudeのKinesis連携ガイド](https://amplitude.com/docs/data/destination-catalog/amazon-kinesis-data-stream)を参照してください。

## 2. NotiflyにAmplitudeを登録する

1. Amplitudeで組織の **Settings** を開き、**Projects** をクリックします。
2. Notiflyと連携するプロジェクトを選びます。
3. **Project ID** をコピーします。

![Amplitudeのプロジェクト設定](https://mintcdn.com/notifly/BljWoGqDT6exoK9p/images/i18n/ja/amplitude/amplitude-project-settings.png?fit=max\&auto=format\&n=BljWoGqDT6exoK9p\&q=85\&s=98b3ad208541329416d013546991030a)

4. Notiflyコンソールで **設定** > **統合** を開きます。
5. 初めて連携する場合は、**Amplitude連携** で **登録する** をクリックします。コピーしたIDを **プロジェクトID** に貼り付け、**저장**（韓国語で「保存」）をクリックします。連携済みの場合は、**プロジェクトID** を編集して保存します。

![NotiflyのAmplitude連携設定](https://mintcdn.com/notifly/BljWoGqDT6exoK9p/images/i18n/ja/amplitude/notifly-amplitude-info.png?fit=max\&auto=format\&n=BljWoGqDT6exoK9p\&q=85\&s=8b912e581b2f3c9375407690324982aa)

## 3. 連携を確認する

設定が完了したら、Notiflyに `amplitude__` で始まるイベントが表示されることを確認します。

![Notiflyに記録されたAmplitudeのイベント](https://mintcdn.com/notifly/BljWoGqDT6exoK9p/images/i18n/ja/amplitude/verify-amplitude-integration-end-to-end.png?fit=max\&auto=format\&n=BljWoGqDT6exoK9p\&q=85\&s=0caec1582fdd3b9701d5378819bcaf76)

## よくある質問

> [accordion] すでに外部ツールにAmplitudeイベントをストリーミングしています。Notiflyも追加できますか？
>
> はい。既存の連携先に加えて、Notiflyも設定できます。イベントストリーミングの上限は、ご利用のAmplitudeプランでご確認ください。

> [accordion] Amplitudeのイベントの一部しかNotiflyに表示されません。
>
> Amplitudeの設定手順5に戻り、**Send Events** でNotiflyに送るイベントを選んでいるか確認してください。

> [accordion] 複数のAmplitudeプロジェクトを連携できますか？
>
> イベントストリーミングでは、NotiflyのプロジェクトごとにAmplitudeのプロジェクトIDを1つ登録できます。複数のプロジェクトを連携する必要がある場合は、[contact@notifly.tech](mailto:contact@notifly.tech)までお問い合わせください。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.