---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://docs.sendcorex.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://docs.sendcorex.com/llms.txt"
---

Source: https://docs.sendcorex.com/ja/api-reference/webhooks/events/tracking-preferences-updated

Webhookイベント · トラッキング

# tracking_preferences_updated

受信者がトラッキング設定ページで開封またはクリックのトラッキングの選択を変更したときに送られます。メールは引き続き届きます。配信停止ではありません。

署名付きの `POST` としてWebhook URLに送られます。署名の検証方法は [設定とイベント](https://docs.sendcorex.com/ja/api-reference/webhooks/setup-events#quick-start) を参照してください。

## ペイロード

```
// Turned open tracking off (API / SMTP email)
{
  "event": "tracking_preferences_updated",
  "timestamp": "2026-10-24T07:20:12.031Z",
  "data": {
    "recipientEmail": "jane.doe@example.com",
    "trackOpens": false,
    "trackClicks": true,
    "source": "page",
    "updatedAt": "2026-10-24T07:20:12.031Z",
    "trackId": "a41f9c0e7b2d58e6"
  }
}
```

**変更があった場合のみ** 同じ選択を再度保存してもWebhookは送られません。Set Preferencesで自分で行った変更も送られないため、CRMとの同期がループすることはありません。拒否はすぐに送信に反映され、"unsubscribe": trueで送るメールではその受信者のピクセルとトラッキングリンクが省かれます。

**Tracking Preferences API** 受信者を1人ずつまたは100人まとめて読み取り、受信者の全履歴を確認し、すべての変更をカーソルでポーリングできます。

[Tracking Preferences →](https://docs.sendcorex.com/ja/api-reference/privacy)

## 項目のリファレンス

- `event`
固定値："tracking_preferences_updated"
- `timestamp`
変更を処理した日時（ISO 8601、UTC）。
- `data.recipientEmail`
設定を変更した受信者。
- `data.trackOpens`
true：受信者は開封トラッキングを許可。false：拒否。
- `data.trackClicks`
true：受信者はクリックトラッキングを許可。false：拒否。
- `data.source`
現時点では固定値："page"（受信者がトラッキング設定ページを使用）。
- `data.updatedAt`
設定を保存した日時（ISO 8601、UTC）。APIのupdated_atと同じ値です。
- `data.campaignId`
受信者が開いたメールのキャンペーン。キャンペーンメールのみ。
- `data.trackId`
APIまたはSMTPで送ったメールのトラッキングキー。その送信でトラッキングがオンだった場合のみ。
